firebird
firebird copied to clipboard
Firebird server, client and tools
This is also a preparation for the JSON Type implementation
Hello. During JSON type implementation, I encountered multiple code duplications in the engine. To simplify future work, I decided to create several PRs with proposed improvements. There are 3 of...
Currently: ``` gbak -c stdin ``` unconditionaly request new volume of backup on unexpected "end of file". This prompt are inaccessible if gbak work in background (nohub|& or start/b). On...
When transforming a blob of an internal type (say, isc_blob_debug_info) to text, the segments are generated without new line information. ISQL treats it segment as a line, putting some leading...
User reported privately crash of Firebird. Stack trace of crashed thread ``` #0 0x00007fcb1818e2d6 in load (__m=std::memory_order_relaxed, this=0x50) at /usr/home/firebird/v5.0-release/src/jrd/tpc.cpp:557 #1 Jrd::TipCache::findStates (this=0x7fcb10208840, minNumber=, maxNumber=maxNumber@entry=363379813, mask=mask@entry=4294967255, state=@0x7fc6a32c7d7c: 3) at /usr/home/firebird/v5.0-release/src/jrd/tpc.cpp:557...
An error related to the difference between the transaction states on disk and in the cache has occurred. Because the tip cache is not loaded and a new block in...
Consider two .sql scripts from attached .zip file. [sql-check-EOL-handling_-_linux-vs-windows.zip](https://github.com/user-attachments/files/20578792/sql-check-EOL-handling_-_linux-vs-windows.zip) File "check-linux-line-EOL.sql" was created in Linux text editor (one that built-in in mc) and, of couse, has appropriate EOL characters =...
1. Run this script on FB 3.x (it will finish w/o errors): ``` shell if exist r:\temp\tmp4test.fdb del r:\temp\tmp4test.fdb; create database 'localhost:r:\temp\tmp4test.fdb'; set term ^; create procedure sp_test as begin...