Search found 12 matches
- 24.11.2006, 22:08
- Forum: Bug Reports
- Topic: [bug_fixed] MySQL and FLOAT fields (precision)
- Replies: 8
- Views: 5096
[bug_fixed] MySQL and FLOAT fields (precision)
Zeos Version: SVN/testing I have a table that contains FLOAT fields. These fields contains values like '4.85'. The MySQL server returns '4.85' but the result set puts this string into a single precision data type that cannot hold the information. So I get something like 4.84999990463 what is not 4....
- 03.05.2006, 19:20
- Forum: User Patches
- Topic: [bug_fixed] MissingConsts, Inlining, SilentException patch
- Replies: 1
- Views: 1540
[bug_fixed] MissingConsts, Inlining, SilentException patch
MissingConsts: I missed two functions in ZMySQLUtils. Inlining: BDS 2006 requires the "Windows"-Unit to be included in the uses statement. I've IFDEF'ed the inclusion. SilentException: While working with a "select * from (select * from mytab, ... where ...) tab where tab..." I ex...
- 30.04.2006, 00:00
- Forum: Bug Reports
- Topic: [bug_fixed] Other files with LF instead of CRLF
- Replies: 1
- Views: 1222
[bug_fixed] Other files with LF instead of CRLF
These files are affected (at least my tool reports and fixes them): component\ZAbstractRODataset.pas component\ZConnection.pas component\ZQuerySQLEditor.pas component\ZROSqlEditor.pas component\ZSqlTestForm.pas dbc\ZDbcASAUtils.pas dbc\ZDbcIntfs.pas These files are in Unix format (only LF, no CRLF)....
- 29.04.2006, 20:41
- Forum: Bug Reports
- Topic: [bug_fixed] ZDbcConnection.pas contains wrong line breaks
- Replies: 1
- Views: 1178
[bug_fixed] ZDbcConnection.pas contains wrong line breaks
ZDbcConnection.pas contains two wrong line breaks that cause the compiler to generate wrong line information for the debugger.
It can be easily fixed by opening the file in WordPad and saving it.
It can be easily fixed by opening the file in WordPad and saving it.
- 29.04.2006, 18:23
- Forum: Bug Reports
- Topic: [bug_fixed] MySQL: Cannot update this query type(backticks)
- Replies: 4
- Views: 4238
[bug_fixed] MySQL: Cannot update this query type(backticks)
If I specify this SQL select:
there is no problem in editing the records.
But if I use the quotation chars for the table name:
I get the error message "Cannot update this query type".
svn branch/testing (MySQL)
Code: Select all
select * from TableName
But if I use the quotation chars for the table name:
Code: Select all
select * from `TableName`
svn branch/testing (MySQL)
- 29.04.2006, 00:05
- Forum: User Patches
- Topic: [bug_fixed] const and optimization-Patch
- Replies: 1
- Views: 1676
[bug_fixed] const and optimization-Patch
This patch is against branch/testing (rev 42).
It adds the "const" modifier for ref-counted parameter types and it also replaces some Utils functions by faster equivalents.
It adds the "const" modifier for ref-counted parameter types and it also replaces some Utils functions by faster equivalents.
- 28.04.2006, 23:10
- Forum: Bug Reports
- Topic: ZSysUtils.EndsWith bug
- Replies: 0
- Views: 882
ZSysUtils.EndsWith bug
If you call ZSysUtils.EndsWith with two empty strings, the function returns True. But Delphi's AnsiEndsStr and StrUtils.EndsStr returns False in that case. uses StrUtils, ZSysUtils; Assert( EndsWidth('', '') = EndsStr('', '') ); // => fails Is this intended or is it a bug? BTW: I'm optimizing the fu...
- 18.04.2006, 22:22
- Forum: Firebird
- Topic: performance
- Replies: 6
- Views: 3075
- 15.04.2006, 13:17
- Forum: Feature Requests
- Topic: [bug_fixed] Insert "const" for ref-counted paramet
- Replies: 10
- Views: 3870
- 11.04.2006, 18:21
- Forum: Feature Requests
- Topic: [bug_fixed] Insert "const" for ref-counted paramet
- Replies: 10
- Views: 3870
- 11.04.2006, 11:07
- Forum: Feature Requests
- Topic: [bug_fixed] Insert "const" for ref-counted paramet
- Replies: 10
- Views: 3870
- 11.04.2006, 00:47
- Forum: Feature Requests
- Topic: [bug_fixed] Insert "const" for ref-counted paramet
- Replies: 10
- Views: 3870
[bug_fixed] Insert "const" for ref-counted paramet
The Delphi Compiler will generate faster code if you use the "const" modifier in parameters of the types "string", "variant" and dynamic/open arrays. Also records with such fields can be optimized with a simple "const". (best example: TZVariant) Example: funct...