Search found 3 matches

by GeorgeKP
29.08.2008, 16:49
Forum: User Patches
Topic: Misprint in ZPlainMysqlFunc.inc found
Replies: 0
Views: 375

Misprint in ZPlainMysqlFunc.inc found

Line 265 of ZPlainMysqlFunc.inc doesn't have compiler directive

Code: Select all

{$IFNDEF UNIX} stdcall {$ELSE} cdecl {$ENDIF};
at it's end which made impossible to call the function: mysql_shutdown.

Please, put this directive back :)
by GeorgeKP
29.08.2008, 16:41
Forum: User Patches
Topic: [patch_done] TZSQLProcessor Tokenizer problem and decision
Replies: 4
Views: 809

My first impression : you're assigning a TComponent as if it is a TDataset. Seems like a dirty hack... No way to get to the TZSQLProcessor.Connection directly? Mark I really have found no other way to access TZSQLProcessor instance from TZSQLStrings method. By the way, FDataset property of TZSQLStr...
by GeorgeKP
28.08.2008, 15:12
Forum: User Patches
Topic: [patch_done] TZSQLProcessor Tokenizer problem and decision
Replies: 4
Views: 809

[patch_done] TZSQLProcessor Tokenizer problem and decision

The problem is in ZSQLStrings module near line 335. The original code is: Tokenizer := CommonTokenizer; if FDataset is TZAbstractRODataset then begin if Assigned(TZAbstractRODataset(FDataset).Connection) then begin Driver := TZAbstractRODataset(FDataset).Connection.DbcDriver; if Assigned(Driver) the...