Search found 19 matches

by Shagrat3
20.08.2013, 12:03
Forum: 6.6 - stable
Topic: Problem with RichEdit on PSQL 8.4
Replies: 4
Views: 1868

Re: Problem with RichEdit on PSQL 8.4

Work OK
by Shagrat3
12.12.2012, 12:52
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] TimeStamp patch
Replies: 6
Views: 2459

http://www.postgresql.org/docs/7.1/stat ... etime.html
Version 7.1 has "ms"

http://www.postgresql.org/docs/9.2/stat ... etime.html
Version 9.2 has "ms" to

When i use synchronization from table1 to table2 without "ms"
I have a wrong values
by Shagrat3
11.12.2012, 15:21
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] TimeStamp patch
Replies: 6
Views: 2459

[patch_done] TimeStamp patch

TimeStamp patch [code]Index: ZDbcPostgreSqlStatement.pas =================================================================== --- ZDbcPostgreSqlStatement.pas (revision 1553) +++ ZDbcPostgreSqlStatement.pas (working copy) @@ -436,7 +436,7 @@ [FormatDateTime('hh":"mm":"ss', SoftVarM...
by Shagrat3
26.10.2012, 06:04
Forum: Firebird
Topic: INSERT with RETURNING
Replies: 30
Views: 15641

Re: Returning Insert - Patch on Test Branch

I have to this probleb (INSER RETURNING)

I found the solution - download last version and set

Code: Select all

fCon.LibraryLocation := fLibDir+'\fbembed.dll';
by Shagrat3
04.07.2012, 12:42
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] Loockup error
Replies: 4
Views: 630

In picture has: if CaseInsensitive then {$IFDEF LAZARUSUTF8HACK} AValue2 := AnsiUpperCase(Utf8ToAnsi(AValue2)); {$ELSE} AValue2 := {$IFDEF DELPHI12_UP}AnsiStrings.{$ENDIF}AnsiUpperCase(AValue2); {$ENDIF} Result := AnsiStrLComp(PAnsiChar(AValue2), PAnsiChar(AValue1), Length(AValue1)) = 0; end; The un...
by Shagrat3
03.07.2012, 12:09
Forum: ZeosLib 7.0 Beta Forum
Topic: Zeoslib x TDBcombobox Component
Replies: 27
Views: 3893

by Shagrat3
03.07.2012, 11:17
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] Loockup error
Replies: 4
Views: 630

[patch_done] Loockup error

I found bag:
Found unneeded code lines for WideString
by Shagrat3
05.04.2012, 07:18
Forum: ZeosLib 7.0 Beta Forum
Topic: Patch for TZPostgreSQLConnection
Replies: 1
Views: 476

Patch for TZPostgreSQLConnection

Exception on destroy program Haw it's make Create new project Append TZConnecttion, TZSQLMonitor On Create Make connection to server When halt(0) On Destroy Make query ZConnection.ExecuteDirect Patch: Index: ZDbcPostgreSql.pas =================================================================== --- Z...
by Shagrat3
26.03.2012, 11:15
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] Overwrite Records in Tables
Replies: 18
Views: 2633

See the last post.

ZEOS not use index when locate.
If table have unique index locate with my function work faster (Its may see on big tables).
I can write domo program
by Shagrat3
23.03.2012, 06:09
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] Overwrite Records in Tables
Replies: 18
Views: 2633

EgonHugeist,
Can you see my post http://zeos.firmos.at/viewtopic.php?t=3158
by Shagrat3
23.03.2012, 06:05
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] Overwrite Records in Tables
Replies: 18
Views: 2633

This patch not adapted for other delphi version. Tested only for Delphi XE Index: ZAbstractDataset.pas =================================================================== --- ZAbstractDataset.pas (revision 1089) +++ ZAbstractDataset.pas (working copy) @@ -468,16 +468,16 @@ InternalUpdate; {BUG-FIX: ...
by Shagrat3
20.03.2012, 15:46
Forum: ZeosLib 7.0 Beta Forum
Topic: [patch_done] Overwrite Records in Tables
Replies: 18
Views: 2633

Do you test code anytime? In Delphi XE2 - Not work Fix: BM - initialize @BM - {$IFDEF DELPHI12_UP}BM{$ELSE}@BM{$ENDIF} if (SortedFields <> '') and not (doDontSortOnPost in Options) then begin FreeFieldBuffers; SetState(dsBrowse); Resync([]); BM := Bookmark; if BookmarkValid(BM) Then begin InternalGo...
by Shagrat3
13.05.2011, 07:45
Forum: 6.6 - stable
Topic: Very slow locate from index field
Replies: 1
Views: 571

This function use to quick locate from indexed table function FastLocate(Table:TDataSet; LocateFiled:string; LocateVal:Integer):boolean; var min, max, Ind, Ret:Int64; begin //=== Except id not indexed === // if Table is TZ //=== Test in value === result := Table[ LocateFiled ] = LocateVal; if result...
by Shagrat3
27.04.2011, 11:08
Forum: 6.6 - stable
Topic: Very slow locate from index field
Replies: 1
Views: 571

Very slow locate from index field

I have large table about 60,000 records. Sorted by ID ID = AutoInc Val = String Program has procedure where get any list from this table about 3000 values. This operation very slow. In ZEOS source, I see fetch from first row to end. But I have also been sorted by ID, you can use the quick search I h...