Search found 53 matches

by duzenko
22.06.2011, 08:59
Forum: Firebird
Topic: Is possible to remove Firebird deleted records from database
Replies: 10
Views: 5089

I think firebird developers suppose that you should backup the database and then restore from the backup
by duzenko
31.05.2011, 13:26
Forum: 6.6 - stable
Topic: List of sql keywords incomplete for firebird sql
Replies: 5
Views: 759

Also, please add "VALUE" as a keyword
by duzenko
15.04.2011, 15:10
Forum: User Patches
Topic: [patch_done] PingServer functionality for FireBird
Replies: 7
Views: 2547

long time no fix
right now if the connection is lost and you try to call reconnect it will raise exception
what is more serious, even after manual call to connect it seems to damage the process memory causing random AVs
it is a bug, is it not?
by duzenko
17.01.2011, 12:51
Forum: 6.6 - stable
Topic: Incorrect error "Update Failed On Complex Query"
Replies: 11
Views: 1307

My solution was to replace "_" with "&" - works fine for me so far!

Initially I was thinking about "$" but then I remembered about the rdb$ stuff and switched to "&"
by duzenko
17.01.2011, 12:49
Forum: 6.6 - stable
Topic: List of sql keywords incomplete for firebird sql
Replies: 5
Views: 759

I don't have the full list - this four are used in my program as field names, so I suggest to add only them

I am aware of the default ansi keywords function, thanks anyway
by duzenko
11.01.2011, 15:54
Forum: 6.6 - stable
Topic: List of sql keywords incomplete for firebird sql
Replies: 5
Views: 759

List of sql keywords incomplete for firebird sql

There are some keywords missing in TZInterbase6DatabaseInfo.GetSQLKeywords, such as DATE, TIME, MIN, MAX, USER
by duzenko
06.01.2011, 16:30
Forum: 6.6 - stable
Topic: Incorrect error "Update Failed On Complex Query"
Replies: 11
Views: 1307

Hello everyone
Just updated to the latest testing sources, and the problem is still there
Can we change '_' to any other character in TZAbstractDatabaseMetadata.FillWildcards?
by duzenko
04.08.2010, 15:55
Forum: 6.6 - stable
Topic: Slow Operating
Replies: 1
Views: 515

Slow Operating

I am porting an existing dbase IV system to firebird\zeos and got some serios speed issues. I've been trying to look into it and now I would like to know this: how come TZQuery.Post is so slow, and why does it executes so many code when trying to define table name for the update sql? Attached is scr...
by duzenko
24.02.2010, 15:34
Forum: User Patches
Topic: [patch_done] PingServer functionality for FireBird
Replies: 7
Views: 2547

I had to change it a bit

Code: Select all

    FTrHandle := nil;
    result := -1
Otherwise it would try to close transaction (?) when performing disconnect and give an error
by duzenko
24.02.2010, 15:13
Forum: 6.6 - stable
Topic: Zero characters in string fields
Replies: 4
Views: 534

Yeah, eventually I had to find another way to get what I wanted
by duzenko
11.02.2010, 15:14
Forum: 6.6 - stable
Topic: Zero characters in string fields
Replies: 4
Views: 534

4dk2, thanks, but I needed this for string fields
by duzenko
28.01.2010, 12:00
Forum: 6.6 - stable
Topic: Zero characters in string fields
Replies: 4
Views: 534

Zero characters in string fields

How do I work with string fields that have #0 characters in them - like rdb$db_key? They seem to be truncated before the first #0 character when I try to select.
by duzenko
13.07.2009, 11:10
Forum: 6.6 - stable
Topic: Care to optimize code?
Replies: 7
Views: 815

P.S. I really love easy delphi strings, but sometimes you just have to write C-style code to keep performance high
by duzenko
13.07.2009, 11:05
Forum: 6.6 - stable
Topic: Care to optimize code?
Replies: 7
Views: 815

Well, trupka has explained about TZDefaultIdentifierConvertor.Quote exhaustively :) and even benchmarked it :up: Yep, it's ugly, but this is the price for speed. And I did not write it inside "asm .. end", did I? ;) Regarding TZGenericCachedResolver.FormInsertStatement: Old code would real...
by duzenko
07.07.2009, 12:03
Forum: 6.6 - stable
Topic: Care to optimize code?
Replies: 7
Views: 815

Care to optimize code?

I recommend to change from function TZGenericCachedResolver.FormInsertStatement(Columns: TObjectList; NewRowAccessor: TZRowAccessor): string; var I: Integer; Current: TZResolverParameter; TableName: string; Temp1, Temp2: string; begin TableName := DefineTableName; DefineInsertColumns(Columns); if Co...