An error occurred fetching the project authors.
- 20 Feb, 2013 2 commits
-
-
Olivier Bertrand authored
No commit message
-
Olivier Bertrand authored
- Set parameters so libxml2 does not anymore add extra characters when retrieving several subnodes of a node. - Make a CONNECT file header (was PlugDB) modified: storage/connect/domdoc.cpp storage/connect/libdoc.cpp storage/connect/tabxml.cpp - Change the version number modified: storage/connect/ha_connect.cc - Begin eliminate use of libmysql functions in MYSQL table type Not finished yet modified: storage/connect/myconn.cpp storage/connect/myconn.h
-
- 19 Feb, 2013 5 commits
-
-
Alexander Barkov authored
modified: mysql-test/suite/connect/r/csv.result mysql-test/suite/connect/t/csv.test
-
Olivier Bertrand authored
-
Alexander Barkov authored
modified: storage/connect/ha_connect.cc
-
Alexander Barkov authored
- Removing -DMYSQL_DYNAMIC_PLUGIN. Its automatically added by MYSQL_ADD_PLUGIN - Replacing "IF(!XXX)" to "IF(NOT XXX)". The former is a wrong cmake syntax. modified: storage/connect/CMakeLists.txt
-
Alexander Barkov authored
file according to the ENCODING option. modified: mysql-test/suite/connect/r/xml.result mysql-test/suite/connect/t/xml.test
-
- 18 Feb, 2013 3 commits
-
-
Olivier Bertrand authored
-
Alexander Barkov authored
-
Olivier Bertrand authored
Modified: ha_connect.cc
-
- 17 Feb, 2013 2 commits
-
-
Olivier Bertrand authored
static to dynamic. Apparently this caused errors with a obscure message saying "Invalid handle vale" (probably m_henv). Modified: odbconn.h odbconn.cpp
-
Olivier Bertrand authored
in case of error while processing ODBC type tables. Modified: odbconn.h odbconn.cpp
-
- 15 Feb, 2013 7 commits
-
-
Olivier Bertrand authored
modified: storage/connect/odbconn.cpp storage/connect/tabodbc.cpp
-
Alexander Barkov authored
removing extra space characters in TABLE_TYPE=XML with libxml2 modified: mysql-test/suite/connect/r/xml.result
-
Olivier Bertrand authored
node text retrieved by libxml2. Modified: libdoc.cpp
-
Alexander Barkov authored
CREATE TABLE t2 ... AS SELECT * FROM t1; modified: mysql-test/suite/connect/r/csv.result mysql-test/suite/connect/t/csv.test
-
Alexander Barkov authored
modified: mysql-test/suite/connect/r/bin.result mysql-test/suite/connect/r/csv.result mysql-test/suite/connect/r/dbf.result mysql-test/suite/connect/r/dir.result mysql-test/suite/connect/r/fix.result mysql-test/suite/connect/r/general.result mysql-test/suite/connect/r/ini.result mysql-test/suite/connect/r/vec.result mysql-test/suite/connect/t/dbf.test mysql-test/suite/connect/t/dir.test mysql-test/suite/connect/t/general.test
-
Olivier Bertrand authored
when passed a NULL oplist argument. Modified: ha_connect.cc
-
Olivier Bertrand authored
Currently, only TABLE_TYPE is tested, and if wrong or unspecified, is replaced by the default value DOS. - Test on type was moved from create to pre_create - pre_create is now called unconditionally and must return true on error and false otherwise. - Warnings are produced if the table type was changed. - The errors have specific error messages (instead of being warnings with an error message telling that a table must have columns) Modified: ha_connect.cc ha_connect.h handler.h sql_table.cc
-
- 14 Feb, 2013 5 commits
-
-
Alexander Barkov authored
- Getting rid of some duplicate code in the Windows and Linux sections - Moving the initializationa and clean-up code to connect_init_func() and connect_done_func(). This allows to use services provided by mysqld, for example my_snprintf(), which do not work in "__attribute__((constructor))init()". - Removing the "__attribute__((constructor)) init()" and "__attribute__((destructor)) fini()" functions - Using MariaDB's my_getpw() instead of different calls for Windows and Linux. - Fixing a potentially wrong memory write in strcat() when creating the full connect.ini file name. strcat() can go outside of the buffer size when directory name is long enough. Using safe my_snprintf() instead. modified: storage/connect/ha_connect.cc
-
Alexander Barkov authored
so it passed idependently from the source tree location. modified: mysql-test/suite/connect/r/odbc_xls.result mysql-test/suite/connect/t/odbc_xls.test
-
Olivier Bertrand authored
No commit message
-
Olivier Bertrand authored
Modified: ha_connect.cc
-
Olivier Bertrand authored
Modified: ha_connect.cc
-
- 13 Feb, 2013 4 commits
-
-
Olivier Bertrand authored
of SQL types previously done in the removed function MyODBCCols. Modified: ha_connect.cc
-
Olivier Bertrand authored
in ODBCDEF::DefineAM line 106 Modified: tabodbc.cpp
-
Alexander Barkov authored
added: mysql-test/suite/connect/r/general.result mysql-test/suite/connect/t/general.test
-
Alexander Barkov authored
modified: mysql-test/suite/connect/r/bin.result mysql-test/suite/connect/r/csv.result mysql-test/suite/connect/r/dbf.result mysql-test/suite/connect/r/fix.result mysql-test/suite/connect/r/fmt.result mysql-test/suite/connect/r/ini.result mysql-test/suite/connect/r/vec.result mysql-test/suite/connect/t/bin.test mysql-test/suite/connect/t/csv.test mysql-test/suite/connect/t/dbf.test mysql-test/suite/connect/t/fix.test mysql-test/suite/connect/t/fmt.test mysql-test/suite/connect/t/ini.test mysql-test/suite/connect/t/vec.test
-
- 12 Feb, 2013 5 commits
-
-
Olivier Bertrand authored
in TABDEF::Define line 104 Modified: reldef.cpp Add a warning on alter in check_if_incompatible_data. Modified: ha_connect.cc
-
Olivier Bertrand authored
- The plan was to provide a default type (DOS) when the table type was unspecified, wring, or not supported. - However, this is not possible here because create is called after the FRM file was generated. - Currently, this is flagged as an error and the create aborts. Modified: ha_connect.cc
-
Olivier Bertrand authored
In mycat.cc line 308 + correc typo in plgdbsem Modified: mycat.cc plgdbsem.h
-
Olivier Bertrand authored
catalog functions have been changed: Table_types are now internally represented be enum TABTYPE. Catalog function names are internally translated to a uint. The function GetTypeID was modified accordingly and a new function GetFuncID was implemented in mycat.cc. Modified: ha_connect.cc odbccat.h odbconn.cpp tabodbc.cpp tabfmt.cpp tabmysql.h tabmysql.cpp tabwmi.cpp mycat.h mycat.cc plgdbsem.h reldef.h tabdos.cpp rcmsg.h
-
Alexander Barkov authored
There is actually one extra byte for the 11th character, however it seems to be meant for the '\0' terminating byte in the DBF specifications. Also, the third party software (e.g. OpenOffice) do not correctly open tables with column length=11. modified: mysql-test/suite/connect/r/dbf.result mysql-test/suite/connect/t/dbf.test storage/connect/ha_connect.cc
-
- 11 Feb, 2013 6 commits
-
-
Alexander Barkov authored
No need to print "\n" before the very first section. modified: storage/connect/inihandl.c
-
Alexander Barkov authored
- The "spath" column does not get replaces with $MYSQLD_DATADIR, because it does not include the drive letter part, e.g. C:\. Removing excluding spath from the "SELECT ... FROM dir1" query - Warnings return slightly different text on Linux and Windows. Linux has extra "/./" part: DATADIR/./test/t1vec1 "--replace_result $MYSQLD_DATADIR DATADIR/" does not help. Using --replace_regex instead. modified: mysql-test/suite/connect/r/vec.result mysql-test/suite/connect/t/vec.test
-
Alexander Barkov authored
added: mysql-test/suite/connect/r/vec.result mysql-test/suite/connect/t/vec.test modified: storage/connect/plgdbutl.cpp
-
Alexander Barkov authored
modified: mysql-test/suite/connect/r/dbf.result mysql-test/suite/connect/t/dbf.test
-
Alexander Barkov authored
modified: mysql-test/suite/connect/r/odbc_xls.result mysql-test/suite/connect/t/odbc_xls.test
-
Alexander Barkov authored
1. Conflicting declarations: In file included from /usr/include/sql.h:19:0, from <path>/storage/connect/odbconn.h:15, from <path>/storage/connect/ha_connect.cc:117: /usr/include/sqltypes.h:98:23: error: conflicting declaration ‘typedef unsigned int DWORD’ os.h and unixODBC's sqltypes.h (included from sql.h) have conflicting declarations, because unixODBC for some reasons incorrectly defines DWORD as "unsigned int", while we define DWORD as "unsigned long" (which is the Microsoft way). We should never include os.h and odbconn.h from the same file. Inside tabodbc.cpp DWORD must be seen as sql.h defines it. In all other files DWORD must be seen as os.h defines it. Fix: Moving ODBC catalog function prototypes into a separate file odbccat.h. Fixing ha_connect.cc to include odbccat.h instead of odbcon.h 2. Use of ambiguous overloaded function in myconn.cpp: There's no a method SetValue(const char *fmt, int i); There's only a method SetValue(char *fmt, int i); Fixing the call accordingly: - crp->Kdata->SetValue((fmt) ? fmt : "", i); + crp->Kdata->SetValue((fmt) ? fmt : (char*) "", i); Note, this is a quick hack. The correct fix would be to change the method prototype to have the "fmt" argument as "const char *". However, it is tightly related to about 300 other places where "char*" is used instead of "const char *". We'll need to fix all of them gradually (in separate changes). added: storage/connect/odbccat.h modified: storage/connect/ha_connect.cc storage/connect/myconn.cpp storage/connect/odbconn.h storage/connect/tabodbc.cpp
-
- 10 Feb, 2013 1 commit
-
-
Olivier Bertrand authored
Modified: ha_connect.cc (MakeRecord) Moved PlgAllocResult to plgdbutl.cpp Modified: mycat.cpp plgdbutl.cpp Continuing implementing the "catalog" tables (ex "info"). Already existing were the ODBC data source table and the WMI column info table. The common way to handle them was modified to enable each table types to send personalized data. Now takes care of all existing catalog functions for table types that can retrieve and use such information. Modified: ha_connect.cc odbconn.cpp tabodbc.h tabodbc.cpp tabfmt.h tabfmt.cpp tabmysql.h tabmysql.cpp tabwmi.h tabwmi.cpp myconn.h myconn.cpp filamdbf.cpp plgdbsem.h reldef.h reldef.cpp tabdos.h tabdos.cpp tabfix.h xtable.h table.cpp
-