Olivier Bertrand
ffc29ac310
- Enable type conversion on Insert and Update
...
modified:
storage/connect/connect.cc
2013-03-11 16:51:40 +01:00
Olivier Bertrand
cb1847df32
- Make indexes to be rebuilt on Update only when an indexed column was updated.
...
modified:
mysql-test/suite/connect/r/index.result
mysql-test/suite/connect/t/index.test
storage/connect/ha_connect.cc
storage/connect/tabdos.cpp
storage/connect/xindex.cpp
2013-03-10 19:48:45 +01:00
Olivier Bertrand
7a30ec7231
- XML and INI tables now return NULL when a node does not exist in a row (XML)
...
or if the key is missing in a section (INI)
modified:
mysql-test/suite/connect/r/ini.result
mysql-test/suite/connect/r/xml.result
storage/connect/tabsys.cpp
storage/connect/tabxml.cpp
- Do a sub-storage cleanup on info commands and fix a limit of column number
in ODBCColumns. This was doing a crash for unexpected longjmp when many info
commands were executed in a row.
modified:
storage/connect/ha_connect.cc
storage/connect/odbconn.cpp
2013-03-10 15:10:00 +01:00
Olivier Bertrand
c7b95cb9df
- Delete ALL or truncate must not be done using file mapping.
...
modified:
storage/connect/tabdos.cpp
storage/connect/tabfix.cpp
storage/connect/tabvct.cpp
2013-03-08 22:48:27 +01:00
Olivier Bertrand
3342df63ef
- Commit changes on memory mapping that hopefully should now work on Linux.
...
modified:
storage/connect/maputil.cpp
storage/connect/tabdos.cpp
storage/connect/tabfmt.cpp
storage/connect/tabvct.cpp
2013-03-08 18:29:05 +01:00
Olivier Bertrand
6e6e34b19d
- Results updated to reflect new features
...
modified:
mysql-test/suite/connect/r/general.result
mysql-test/suite/connect/r/xml.result
2013-03-08 18:27:43 +01:00
Olivier Bertrand
69154073d9
- Until the problem is fixed, temporarily not use mapping on Linux for Update.
...
modified:
storage/connect/tabdos.cpp
storage/connect/tabfmt.cpp
storage/connect/tabvct.cpp
2013-03-08 01:09:53 +01:00
Olivier Bertrand
07beddc421
- Working on the problem of writing to mapped files on Linux
...
modified:
storage/connect/maputil.cpp*
2013-03-08 00:41:24 +01:00
Olivier Bertrand
274b2f8c4a
- Fix a bug causing the server to crash when writing on a memory mapped
...
file on Linux.
modified:
storage/connect/maputil.cpp
2013-03-07 23:05:54 +01:00
Olivier Bertrand
079f053c66
- Fix bug causing a crash when writing to a memory mapped file on Linux.
...
modified:
storage/connect/maputil.cpp
2013-03-07 22:56:52 +01:00
Olivier Bertrand
44efd72977
- Updated to accept calculated default field length for date columns.
...
modified:
mysql-test/suite/connect/r/index.result
mysql-test/suite/connect/t/index.test
2013-03-07 21:40:09 +01:00
Olivier Bertrand
eab8fcfa3f
- Set file name when unspecified as tablename.tabletype.
...
modified:
storage/connect/ha_connect.cc
storage/connect/mycat.cc
storage/connect/mycat.h
2013-03-07 21:38:00 +01:00
Olivier Bertrand
bc9c872483
- Calculate default date field length from the specified format.
...
modified:
storage/connect/ha_connect.cc
2013-03-07 18:53:41 +01:00
Olivier Bertrand
deca1d1848
- Change line ending to LF only
...
modified:
mysql-test/suite/connect/r/index.result
2013-03-06 13:46:48 +01:00
Olivier Bertrand
a75e77df74
- T1 -> t1
...
modified:
mysql-test/suite/connect/r/index.result
2013-03-06 13:42:01 +01:00
Olivier Bertrand
5d7d579c8f
- In index.test t1 was back to T1! fixed
...
modified:
mysql-test/suite/connect/t/index.test*
- Line endings restored to LF only
modified:
storage/connect/CMakeLists.txt
2013-03-06 11:27:47 +01:00
unknown
1e114f73ad
- Changing mode to -x
...
modified:
mysql-test/suite/connect/t/index.test
storage/connect/connect.cc*
storage/connect/myconn.cpp*
storage/connect/value.cpp*
2013-03-06 11:16:29 +01:00
Olivier Bertrand
d9237c452a
- Update the index.test, which now works (at least on Windows)
...
modified:
mysql-test/suite/connect/r/index.result
mysql-test/suite/connect/std_data/emp.txt
mysql-test/suite/connect/t/index.test
2013-03-05 19:37:27 +01:00
Olivier Bertrand
6452fd3065
- Fix wrong format used in ScanRecord for MYSQL_TYPE_TIME
...
- Change field option BUF_LENGTH to FIELD_LENGTH. It now used to specify
the field length of DATE columns (MySQL doesn't allow to give a length)
modified:
storage/connect/ha_connect.cc
2013-03-05 19:30:40 +01:00
Olivier on SAMSUNG 64-bits
25fc1b0308
- Add domdoc.h in source list
...
modified:
storage/connect/CMakeLists.txt
2013-03-04 17:49:20 +01:00
Olivier Bertrand
0c70184be5
- Adding index.test (with some statements temporarily skipped)
...
- Updating xml.result
added:
mysql-test/suite/connect/r/index.result
mysql-test/suite/connect/std_data/emp.txt
mysql-test/suite/connect/std_data/sexe.csv
mysql-test/suite/connect/std_data/sitmat.csv
mysql-test/suite/connect/t/index.test
modified:
.bzrignore
mysql-test/suite/connect/r/xml.result
2013-03-04 13:36:16 +01:00
Olivier Bertrand
50beff5cbf
- FIX a bug causing a crash when deleting a mapped table
...
modified:
storage/connect/filamap.cpp
2013-03-04 00:42:39 +01:00
Olivier Bertrand
6a09944072
- FIX a BUG: error (wrong value set) in:
...
update xempl set ddentree = adddate(ddentree, interval 16 year);
The same value sdval was used to convert MySQL dates to CONNECT date
value and CONNECT dates to MySQL date. This was wrong in update because
the second time the wrong value was used converting to incoherent values.
There are now 2 separate values used: sdvalin and sdvalout.
modified:
storage/connect/ha_connect.cc
storage/connect/ha_connect.h
2013-03-03 15:37:27 +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
5972b56a6d
- Fix conversion bug for MS-DOM XML tables. The node content was written
...
and read as if the table DATA_CHARSET was ANSI instead of UTF-8. Warning
are now provided when the read content of a node is truncated.
modified:
storage/connect/domdoc.cpp
storage/connect/domdoc.h
storage/connect/libdoc.cpp
storage/connect/libdoc.h
storage/connect/plgxml.h
storage/connect/tabxml.cpp
- Conditional compilation of pre_create depending on the MARIADB setting.
modified:
storage/connect/ha_connect.cc
storage/connect/ha_connect.h
2013-03-02 17:58:18 +01:00
Olivier Bertrand
8c8fe2f3a6
- Commit merged file
...
modified:
mysql-test/suite/connect/t/odbc_xls.test
2013-03-02 01:17:25 +01:00
Olivier Bertrand
3734dfb3b6
- MySQL connection was not close if mysql_real_connect failed.
...
modified:
storage/connect/myconn.cpp
2013-03-02 01:02:59 +01:00
unknown
073b0e7731
- MySQL connection was not closed in case of error
...
modified:
storage/connect/myconn.cpp
2013-03-02 00:09:15 +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
cdf3606b38
- Begin fixing memory leaks
...
modified:
storage/connect/connect.cc
storage/connect/plugutil.c
2013-03-01 22:21:48 +01:00
Alexander Barkov
204a499731
Adding forgotten semicolon.
...
ODBC check did not work without it.
modified:
mysql-test/suite/connect/t/odbc_xls.test
2013-03-01 13:00:42 +04:00
Olivier Bertrand
612b8c5500
- Fix warning on missing initial values on Linux
...
modified:
storage/connect/connect.cc*
storage/connect/value.cpp*
2013-03-01 00:41:04 +01:00
unknown
0a05caf29f
- Fix memory leak
...
modified:
storage/connect/connect.cc
- GCC requires template<> headers
modified:
storage/connect/value.cpp
2013-03-01 00:29:48 +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
812c1a7f6b
- Modify the way value.h and valblk.h are included to try fixing
...
the gcc error: invalid use of incomplete type
modified:
storage/connect/myconn.cpp
storage/connect/xobject.h
2013-02-27 23:32:34 +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
f2b8155abb
- Result changed since nulls are supported
...
modified:
mysql-test/suite/connect/r/odbc_xls.result
2013-02-27 14:59:40 +01:00
Alexander Barkov
3fd1e97a64
Removing the comment about NULLs
...
modified:
mysql-test/suite/connect/t/mysql.test
2013-02-27 17:04:36 +04:00
Alexander Barkov
43ecae5ee8
Updating mysql.test, it now supports NULL columns.
...
modified:
mysql-test/suite/connect/r/mysql.result
mysql-test/suite/connect/t/mysql.test
2013-02-27 17:02:38 +04:00
Olivier Bertrand
edd161587e
- Catalog table: Use XFLD as Flag value instead of column index.
...
- Use the COLDEF flag to initialize column nullable value.
- Fix a bug on inserting null values in MYSQL tables.
modified:
storage/connect/colblk.cpp
storage/connect/connect.cc
storage/connect/ha_connect.cc
storage/connect/odbconn.cpp
storage/connect/plgdbsem.h
storage/connect/table.cpp
storage/connect/tabmysql.cpp
2013-02-25 22:44:42 +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
Olivier Bertrand
a769cb2fc5
- Add header files to source files
...
modified:
storage/connect/CMakeLists.txt
2013-02-22 22:46:52 +01:00
Olivier Bertrand
0a280eb8bd
- Commiting merges
...
Simplify update in pre_create
modified:
mysql-test/suite/connect/r/mysql.result
mysql-test/suite/connect/t/mysql.test
mysql-test/suite/connect/t/xml.test
storage/connect/CMakeLists.txt
storage/connect/ha_connect.cc
storage/connect/mycat.cc
2013-02-22 22:04:47 +01:00
Olivier Bertrand
553964dc70
- Suppress warning on non virtual descriptor
...
modified:
storage/connect/CMakeLists.txt
2013-02-22 19:21:34 +01:00
Olivier Bertrand
ebc8a6ef0c
- Fix connect string wrongly used when zero length
...
modified:
storage/connect/tabmysql.cpp
2013-02-22 18:32:47 +01:00
Olivier Bertrand
b535cb9874
- Add the support of URL connection string fo MYSQL tables
...
Federated servers are not yet supported.
modified:
storage/connect/ha_connect.cc
storage/connect/tabmysql.cpp
storage/connect/tabmysql.h
2013-02-22 17:26:08 +01:00
Alexander Barkov
aa92de5a70
Adding a reminder.
...
modified:
storage/connect/CMakeLists.txt
2013-02-22 16:53:42 +04:00
Alexander Barkov
7d4df74b71
Adding a test for BIGINT.
...
modified:
mysql-test/suite/connect/r/mysql.result
mysql-test/suite/connect/t/mysql.test
2013-02-22 13:21:26 +04:00