I use mySQL 5.0.20a Debian. The problem is the new
syntax of "JOIN" in mySQL 5. I have to put in round
backets the "FROM" elements, when I use "JOIN" in SQL
sentence.
Expl: select * from (a,b)
left join c on (a.id = c.id).
All the tables's id field
type is integer auto_incerement, except for table "a".
'cause table "a" id field is varchar(15). The bug is in
ZGenericSqlAnalyser.pas, at line around 662, in the
FillTableRefs procedure. When it makes the FROM token,
it skips "(...)". Therefore, in my example sentence, in
the field list, the first column type won't be
varchar(15) but integer.
Is it a real bug, or I messed up something?
When I use BDE's TQuery, instead of Zeos's TzQuery it works.)
mySQL5 incompatible
Forum related to version 6.1.5 of ZeosLib's DBOs
Moderators: gto, cipto_kh, EgonHugeist
Jump to
- Links
- ↳ Bugtracker
- ↳ Downloads
- ↳ Subversion
- ↳ GitHub
- ZEOS Library - General
- ↳ Announcements
- ↳ Downloads
- ↳ Documentations
- ↳ Tutorials
- ↳ ZDBC (ZEOS Database Connectivity)
- ↳ User Contributions
- ↳ Feature Requests
- ↳ User Patches
- ZEOS DBO v8.x
- ↳ ZeosLib 7.3/8.0 Forum
- ZEOS DBO v7.x
- ↳ ZeosLib 7.2 Forum
- ↳ ZeosLib 7.1 stable Forum
- ↳ ZeosLib 7.0 Stable Forum
- ↳ ZeosLib 7.0 Beta Forum
- SQL Servers and Databases
- ↳ ADO
- ↳ DB2
- ↳ Firebird
- ↳ Interbase
- ↳ MS SQL Server
- ↳ MySQL
- ↳ Oracle
- ↳ OleDB (Microsoft Windows)
- ↳ ODBC
- ↳ PostgreSQL
- ↳ SQLite
- ↳ Sybase ASE
- Compiler related
- ↳ CBuilder / C++
- ↳ Lazarus / Freepascal
- ZEOS DBO V 6.x
- ↳ 6.6 - stable
- ↳ 6.5.1 (alpha) - 6.6.x (beta)
- ↳ 6.1.5
- ↳ Other 6.x Versions
- ↳ Bug Reports
- ZEOS DBO V 5.x
- ↳ 5.x Versions
- Software projects using ZeosLib
- ↳ SQLite Administrator
- Other and Non-Technical
- ↳ Off Topic