Alexander Barkov
7ef4c5df47
Connect: fixing non thread-safe code.
...
Passing "struct tm" buffer to GetGmTime() instead of using a static bufer.
modified:
storage/connect/tabodbc.cpp
storage/connect/value.cpp
storage/connect/value.h
2013-05-23 12:04:52 +04:00
Olivier Bertrand
99d95c8a2f
- Added table type PIVOT
...
modified:
storage/connect/filamdbf.cpp
storage/connect/ha_connect.cc
storage/connect/ha_connect.h
storage/connect/mycat.cc
storage/connect/myconn.cpp
storage/connect/odbconn.cpp
storage/connect/plgcnx.h
storage/connect/plgdbsem.h
storage/connect/plgdbutl.cpp
storage/connect/tabfmt.cpp
storage/connect/tabpivot.cpp
storage/connect/tabpivot.h
storage/connect/tabutil.cpp
storage/connect/tabwmi.cpp
storage/connect/tabxcl.cpp
storage/connect/value.cpp
storage/connect/value.h
2013-05-10 20:22:21 +02:00
Olivier Bertrand
17fb343a5c
- Add tiny integer as a supported type by CONNECT
...
modified:
storage/connect/global.h
storage/connect/ha_connect.cc
storage/connect/myutil.cpp
storage/connect/plgdbutl.cpp
storage/connect/tabdos.cpp
storage/connect/tabwmi.cpp
storage/connect/valblk.cpp
storage/connect/valblk.h
storage/connect/value.cpp
storage/connect/value.h
storage/connect/xobject.cpp
2013-03-11 16:52:59 +01:00
Olivier Bertrand
8103dd5e88
- Some end of lines changed from CRLF to LF
...
modified:
storage/connect/reldef.h
storage/connect/tabxml.h
storage/connect/value.h
2013-03-02 22:30:40 +01:00
Olivier Bertrand
63798ef4a5
- Rewrite some VALBLK classes as templates
...
- Correct typo initializing datm in DTVAL::MakeDate as {0,0,0,2,0,70,0,0,0}
instead of {0,0,0,1,0,70,0,0,0}
modified:
storage/connect/valblk.cpp
storage/connect/valblk.h
storage/connect/value.cpp
storage/connect/value.h
2013-03-01 22:23:40 +01:00
Olivier Bertrand
bf6c3f5133
- Second version of template value classes
...
The first one did not compile with GCC on Linux
modified:
storage/connect/value.cpp
storage/connect/value.h
2013-02-28 22:50:26 +01:00
Olivier Bertrand
7879632cea
- Change Subclass name from TYPE to T
...
modified:
storage/connect/value.h
2013-02-27 22:54:42 +01:00
Olivier Bertrand
7132c590ca
- Fix a miscalculation of column length in ODBCTables
...
- Clean code in Value.h
modified:
storage/connect/odbconn.cpp
storage/connect/value.h
2013-02-27 22:42:50 +01:00
Olivier Bertrand
fa4aa616a1
- Rewriting the VALUE classes as template classes
...
modified:
storage/connect/tabdos.cpp
storage/connect/tabdos.h
storage/connect/tabmysql.cpp
storage/connect/tabodbc.cpp
storage/connect/tabsys.cpp
storage/connect/tabxml.cpp
storage/connect/value.cpp
storage/connect/value.h
storage/connect/xobject.h
2013-02-27 16:42:59 +01:00
Olivier Bertrand
2b60525d57
- Add support to NULL values. This concern the MYSQL
...
and ODBC table types. Not supported yet for indexes.
modified:
storage/connect/colblk.cpp
storage/connect/colblk.h
storage/connect/connect.cc
storage/connect/ha_connect.cc
storage/connect/tabmysql.cpp
storage/connect/tabodbc.cpp
storage/connect/valblk.cpp
storage/connect/valblk.h
storage/connect/value.cpp
storage/connect/value.h
storage/connect/xindex.cpp
2013-02-24 01:23:18 +01:00
Alexander Barkov
30c4b0ebc2
- Fixing TAB to 2 spaces
...
- Fixing line endings from "\r\n" to "\n"
2013-02-07 13:34:27 +04:00
Olivier Bertrand
26b00be332
Fix problems with ODBC raised by Adding the type TYPE_BIGINT (longlong).
2013-01-29 23:40:34 +01:00
Alexander Barkov
a9d06e1066
Adding a comment why TranslateSQLType is exported.
...
modified:
storage/connect/value.h
2013-01-29 21:37:39 +04:00
Alexander Barkov
18e02f0608
Fixing compilation failure caused by wrong definition of DWORD
...
in unixODBC headers on 64-bit platforms.
Moving function definitions from value.cpp to odbconn.cpp.
Changing scope of GetSQLType and GetSQLCType from public to static.
modified:
storage/connect/odbconn.cpp
storage/connect/value.cpp
storage/connect/value.h
2013-01-29 19:35:17 +04:00
Alexander Barkov
4f9e09efb4
Fixing ODBC related compilation failures:
...
- without ODBC: adding a few "#ifdef CONNECT_SUPPORT"
- with ODBC on Linux: conflicting definitions for DWORD
in sql.h (unixODBC) vs global.h.
Using "typedef unsigned int DWORD", as this is how MS SQK defines it
and matches unixODBC definition.
Removing sqlutil.h. value.cpp now uses sql.h and sqlext.h instead.
removed:
storage/connect/sqlutil.h
modified:
storage/connect/global.h
storage/connect/value.cpp
storage/connect/value.h
2013-01-28 13:42:14 +04:00
Olivier Bertrand
6ec8f00ae3
Added to CONNECT the missing type TYPE_BIGINT (longlong).
2013-01-23 22:45:25 +01:00
Alexander Barkov
d7143a4160
Adding the CONNECT storage engine sources.
2013-01-18 19:21:44 +04:00