Search found 14 matches
- 28.03.2023, 14:46
- Forum: ZeosLib 7.2 Forum
- Topic: Problem when updating a row with with select * - query
- Replies: 3
- Views: 458
Re: Problem when updating a row with with select * - query
Jan, sure, thanks for looking into it. This example project (TestZeos.zip) exhibits the problem. I have provided the mariadb "create" statement and 2 insert statements that you can use to setup a database ("testzeos") on a Mariadb server (here Mariadb 10.3.38) in a Memo-component...
- 27.03.2023, 18:26
- Forum: ZeosLib 7.2 Forum
- Topic: Problem when updating a row with with select * - query
- Replies: 3
- Views: 458
Problem when updating a row with with select * - query
Zeos 7.2.14 Stable, MariaDB, Rad Studio 11.2 These are preliminary test results showing a possible bug for a query with a wildchart. I have a table with 99 columns, and a ZQuery : select * from leveranc where stamnr=:stamnr This table leveranc has a primary key stamnr. I use an update object that ha...
- 02.07.2019, 15:41
- Forum: ZeosLib 7.2 Forum
- Topic: 7.2.4 install and build problems
- Replies: 2
- Views: 1547
Re: 7.2.4 install and build problems
I am also building for C++builder. For the ZDbcAdo error, the reason appears to be that not all .pas files are included in the project files (I have only tested this in the packages/Delphi10.2 - directory). To fix : I have opened the project group, changed the options for each of the projects to &qu...
- 02.07.2019, 15:17
- Forum: ZeosLib 7.2 Forum
- Topic: 7.2.4-stable, MySQL, TZConnection.UseMetadata=false : TZStoredProc parameters not set
- Replies: 0
- Views: 681
7.2.4-stable, MySQL, TZConnection.UseMetadata=false : TZStoredProc parameters not set
I use a TZStoredProc component to call a stored procedure which returns a result set. The MySQL user has no privileges on the mysql-system-tables. TZStoredProc by default reads the mysql.proc-table on opening, but this of course results in "SELECT command denied to user '...'" This can be ...
- 12.05.2017, 14:47
- Forum: ZeosLib 7.2 Forum
- Topic: Sorting on DATE-field, specifically in TZReadOnlyQuery + fix
- Replies: 2
- Views: 1208
Sorting on DATE-field, specifically in TZReadOnlyQuery + fix
Database : MySQL For TZReadOnlyQuery, not in TZQuery, sorting on a DATE field does not work correctly. So this problem is different from my topic posted yesterday "Sorting of TWideMemo-field" The reason seems to be in ZDbcMySqlResultSet.pas, in method "GetTimestamp", which is cal...
- 12.05.2017, 10:33
- Forum: ZeosLib 7.2 Forum
- Topic: Sorting of TWideMemo-field
- Replies: 3
- Views: 534
Re: Sorting of TWideMemo-field
Jan, thank you for your response. About your remark Just make sure that the MemoFields are retrieved as Widestrings Since all this happens in ZDbcCache, as far as I understand, everything has already been retrieved at that point. So what I did (and what seems to work in my setup) is : 1) Taking the ...
- 11.05.2017, 16:35
- Forum: ZeosLib 7.2 Forum
- Topic: Sorting of TWideMemo-field
- Replies: 3
- Views: 534
Sorting of TWideMemo-field
Database used : MySQL. When in a TZQuery, the field name of a ftWideMemo-column (from a MySQL TEXT datatype) is assigned to SortedFields, sorting does not work. It did work in 7.1.4 though, and it also works in a TZReadOnlyQuery. The problem can be tracked down to the following code in ZDbcCache, I ...
- 06.04.2017, 06:25
- Forum: ZeosLib 7.2 Forum
- Topic: MySQL : database ENUM-column not translated to WideString but to integer + patch
- Replies: 1
- Views: 457
MySQL : database ENUM-column not translated to WideString but to integer + patch
I tested zeoslib 7.2.1-rc in our project, and noticed that handling of enum columns is broken compared to 7.1.4-stable. Enum-fields should translate to WideString (and did so in 7.1.4), but in 7.2.1-rc *and* also in the current svn-version of testing-7.2 (= r3986 ), in the file dbc/ZDbcMySqlUtils.pa...
- 17.01.2011, 11:33
- Forum: 6.6 - stable
- Topic: [BCB / MySQL] Temporary tables
- Replies: 3
- Views: 676
I don't know if this helps (it's not completely the same), but this works for me in BDS 2006 (used extensively) : // I do not assign a different stringlist to ->Script, as you do in your last example ZSQLProcessor1->Script->Clear(); ZSQLProcessor1->DelimiterType = dtDefault; ZSQLProcessor1->Script->...
- 13.08.2010, 20:28
- Forum: ZeosLib 7.0 Beta Forum
- Topic: trouble Zeos with GodeGear 2009 (Builder C++)
- Replies: 3
- Views: 661
I suggest you search your whole harddisk (specifically c:\users\public documents\rad...\...\bpl) for old versions of your bpl's. Not only your user-dir, but whole harddisk. I have just built and installed revision 809 (from svn://zeos.firmos.at/zeos/branches/testing) in rad studio 2010. I used the d...
- 03.10.2009, 16:28
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Delphi 2010 compatibility
- Replies: 19
- Views: 3273
- 02.10.2009, 16:28
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Delphi 2010 compatibility
- Replies: 19
- Views: 3273
Hi, again, first I should correct what I stated in my first post from 24/9: Both a String and a UnicodeString are translated to UnicodeString by dcc when generating hpp files for c++builder 2010 as I said before. But it's not the packed record TZVariant that is the problem. I thought that for TZVari...
- 02.10.2009, 14:52
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Delphi 2010 compatibility
- Replies: 19
- Views: 3273
Hi, all, Mark, you suggested : Would providing the edited *.hpp header in the zeoslib distribution be useful and practical? Would this not be quite cumbersome to maintain ? I found this link http://edn.embarcadero.com/article/10281 , which at first sight explains the translation of C-headers to pasc...
- 24.09.2009, 09:15
- Forum: ZeosLib 7.0 Beta Forum
- Topic: Delphi 2010 compatibility
- Replies: 19
- Views: 3273
Workaround for c++builder 2010 + note about bpl/dcu-path
First, I want to confirm that the patch by cariad above (with the VER210-section in zeos.inc, and the modified tfieldtypes-array in the $IFDEF VER210 in ZAbstractRODataSet.pas) is also necessary for compilation and installation in c++builder 2010, which then goes fine with the projects in the packag...