- 11 Dec, 2013 4 commits
-
-
Olivier Bertrand authored
added: storage/connect/mysql-test/connect/r/odbc_postgresql.result storage/connect/mysql-test/connect/t/have_odbc_postgresql.inc storage/connect/mysql-test/connect/t/odbc_postgresql.sql storage/connect/mysql-test/connect/t/odbc_postgresql.test modified: storage/connect/odbconn.cpp
-
Olivier Bertrand authored
modified: storage/connect/connect.cc storage/connect/ha_connect.cc storage/connect/mysql-test/connect/r/mysql.result storage/connect/mysql-test/connect/r/unsigned.result storage/connect/mysql-test/connect/t/mysql.test storage/connect/mysql-test/connect/t/unsigned.test
-
Alexander Barkov authored
does not exist.
-
Alexander Barkov authored
with the same names present in multiple schemas The "TABNAME" option now supports qualified table names, to connect to tables residing in a particular schema and catalog. Qualified table names have the following format: [[CatalogName.]SchemaName.]TableName Qualified table names can be used: 1. In "normal" tables: CREATE TABLE t1 ENGINE=CONNECT TABLE_TYPE=ODBC CONNECTION='DSN=ConnectEng;UID=mtr;PWD=mtr' TABNAME='schema1.t1'; 2. In catalog tables (CATFUNC=Tables and CATFUNC=Columns) CREATE TABLE t1 ENGINE=CONNECT TABLE_TYPE=ODBC CONNECTION='DSN=postgresql;UID=user;PWD=password' TABNAME='schema1.t1'; Note, the % and _ wildcards are supported in the schema name and the table name parts: CREATE TABLE t1 ENGINE=CONNECT TABLE_TYPE=ODBC CONNECTION='DSN=postgresql;UID=user;PWD=password' TABNAME='%.t1'; CREATE TABLE t1 ENGINE=CONNECT TABLE_TYPE=ODBC CONNECTION='DSN=postgresql;UID=user;PWD=password' TABNAME='schema1.%';
-
- 10 Dec, 2013 1 commit
-
-
Alexander Barkov authored
-
- 06 Dec, 2013 1 commit
-
-
Olivier Bertrand authored
to 16384 (MDEV-5393) modified: storage/connect/odbconn.cpp - Fix sorting catalog table result set (MDEV-5394) added: storage/connect/mysql-test/connect/r/xml_mdev5261.result storage/connect/mysql-test/connect/t/xml_mdev5261.test modified: storage/connect/mysql-test/connect/r/odbc_sqlite3.result storage/connect/mysql-test/connect/t/odbc_sqlite3.test storage/connect/table.cpp storage/connect/tabodbc.cpp storage/connect/xtable.h - Remove unnecessary closing of opened table in rnd_init modified: storage/connect/ha_connect.cc
-
- 05 Dec, 2013 4 commits
-
-
Alexander Barkov authored
running against a data source with many tables
-
Alexander Barkov authored
-
Olivier Bertrand authored
modified: storage/connect/odbconn.cpp
-
Olivier Bertrand authored
modified: storage/connect/ha_connect.cc
-
- 04 Dec, 2013 1 commit
-
-
Olivier Bertrand authored
modified: storage/connect/ha_connect.cc storage/connect/mycat.cc storage/connect/mycat.h
-
- 03 Dec, 2013 3 commits
-
-
Olivier Bertrand authored
modified: storage/connect/tabutil.cpp - Fix test results to reflect the fact that in discovery, column defaults are now retrieved for the MYSQL table type. modified: storage/connect/mysql-test/connect/r/mysql_discovery.result storage/connect/mysql-test/connect/r/mysql_new.result - Restore Unix line endings modified: storage/connect/value.cpp
-
Olivier Bertrand authored
added: storage/connect/mysql-test/connect/r/unsigned.result storage/connect/mysql-test/connect/t/unsigned.test modified: storage/connect/colblk.cpp storage/connect/colblk.h storage/connect/connect.cc storage/connect/ha_connect.cc storage/connect/myconn.cpp storage/connect/mysql-test/connect/r/mysql_discovery.result storage/connect/mysql-test/connect/r/xml.result storage/connect/myutil.cpp storage/connect/myutil.h storage/connect/plgdbsem.h storage/connect/tabdos.cpp storage/connect/tabfix.cpp storage/connect/tabmysql.cpp storage/connect/tabutil.cpp storage/connect/valblk.cpp storage/connect/valblk.h storage/connect/value.cpp storage/connect/value.h storage/connect/xobject.cpp storage/connect/xobject.h
-
Alexander Barkov authored
-
- 02 Dec, 2013 1 commit
-
-
Alexander Barkov authored
Applied a patch from Philip Hazel implementing the non-standard syntax for word boundaries in PCRE, for compatibility with the old Henry Spencer's regex library.
-
- 28 Nov, 2013 2 commits
-
-
Olivier Bertrand authored
modified: storage/connect/valblk.cpp
-
Olivier Bertrand authored
modified: storage/connect/ha_connect.cc storage/connect/value.cpp - Fix the way GetPlug works (was not updating xp) modified: storage/connect/ha_connect.cc
-
- 26 Nov, 2013 2 commits
-
-
Olivier Bertrand authored
modified: storage/connect/odbconn.cpp - Prepare Value and Valblk to support unsigned data types (not operational yet) modified: storage/connect/colblk.cpp storage/connect/filamvct.cpp storage/connect/myconn.cpp storage/connect/plgdbutl.cpp storage/connect/tabdos.cpp storage/connect/tabodbc.cpp storage/connect/tabvct.cpp storage/connect/valblk.cpp storage/connect/valblk.h storage/connect/value.cpp storage/connect/value.h storage/connect/xindex.cpp
-
Alexander Barkov authored
-
- 25 Nov, 2013 1 commit
-
-
Sergey Vojtovich authored
MariaDB 10.0 server
-
- 22 Nov, 2013 1 commit
-
-
Olivier Bertrand authored
modified: storage/connect/ha_connect.cc storage/connect/myconn.cpp storage/connect/myutil.cpp storage/connect/odbccat.h storage/connect/odbconn.cpp storage/connect/tabmysql.cpp - Add tests on new MYSQL features added: storage/connect/mysql-test/connect/my.cnf storage/connect/mysql-test/connect/r/mysql_discovery.result storage/connect/mysql-test/connect/r/mysql_exec.result storage/connect/mysql-test/connect/r/mysql_new.result storage/connect/mysql-test/connect/t/myconn.inc storage/connect/mysql-test/connect/t/myconn_cleanup.inc storage/connect/mysql-test/connect/t/mysql_discovery.test storage/connect/mysql-test/connect/t/mysql_exec.test storage/connect/mysql-test/connect/t/mysql_new.test
-
- 20 Nov, 2013 3 commits
-
-
Alexander Barkov authored
-
Jan Lindström authored
Analysis: In earlier MySQL 5.6 versions this table innodb_index_stats used to have a foreign key referencing to innodb_table_stats. However, in newer MySQL 5.6 versions this foreign key is removed and if you upgrade, your innodb_table_stats is created by the earlier mariadb version, thus a newer version will complain that the table is incorrectly defined. Added drop foreign key on mysql_system_tables_fix.sql to be executed on mysql_upgrade.
-
Alexander Barkov authored
-
- 19 Nov, 2013 1 commit
-
-
Elena Stepanova authored
-
- 14 Nov, 2013 3 commits
-
-
Sergey Vojtovich authored
Fixed the following compilation errors and test failures: - maria SE: "stage_waiting_for_a_resource" wasn't declared w/o PFS - sql_repl.h: PSI_mutex_key is not available in non-PFS builds - mysqld.cc: pfs_param is not available in non-PFS builds - mysqld.cc: init_show_explain_psi_keys() is not available in non-PFS builds - mysqld.cc: call net_before_header_psi, net_after_header_psi even if PFS is not available so that thread enters stage_init at proper time. Fixes sp-threads and a few tests in funcs_1. - myisam_file_io.opt: added missing loose prefix
-
Sergei Golubchik authored
-
Alexey Botchkov authored
Added the IF NOT EXISTS option to the CONSTRAINT keyword.
-
- 13 Nov, 2013 9 commits
-
-
Sergei Golubchik authored
-
Sergei Golubchik authored
MDEV-5248 Serious incompatibility and data corruption of DATETIME and DATE types due to get_innobase_type_from_mysql_type refactor combined with InnoDB Online DDL restore old innodb get_innobase_type_from_mysql_type() function, record all mysql_type->innodb_type mapping (as generated by mysql-5.6). add safety code to disable online alter when internal types don't match storage/innobase/dict/dict0stats.cc: revert to 5.6 state
-
Sergei Golubchik authored
correct bugs in mysql_system_tables_fix.sql. Update system_mysql_db_fix* tests
-
unknown authored
Patch by Elena. Move the table creation to the end of the file, so mysql.innodb_stats_table has been created and the statement does not fail.
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergei Golubchik authored
-
Sergey Petrunya authored
-
Sergey Petrunya authored
Apply fix suggested by Igor: - When eliminate_item_equal() generates pair-wise equalities from a multi-equality, do generate a "bridge" equality between the first field inside SJM nest and the field that's first in the overall multi-equality.
-
- 12 Nov, 2013 3 commits
-
-
Olivier Bertrand authored
and MYSQL CONNECT tables to take care of kewords such as IGNORE. modified: storage/connect/myconn.cpp storage/connect/odbconn.cpp storage/connect/tabmysql.cpp storage/connect/tabmysql.h storage/connect/tabodbc.cpp storage/connect/tabodbc.h
-
Sergei Golubchik authored
MDEV-5113 Wrong result (extra row) and valgrind warnings in Item_maxmin_subselect::any_value on 2nd execution of PS with SELECT subquery When setting Item_func_not_all::test_sum_item or Item_func_not_all::test_sub_item, reset the other one to NULL - they can never be set both. When a PS is reexecuted, different executions might be optimized differently and a wrong test_su*_item might stay set from the previous execution.
-
Sergey Petrunya authored
- MIN/MAX optimizer does a check whether a "field CMP const" comparison uses a constant that's longer than the field it is compared to. Make this check only for string columns, also compare character lengths, not byte lengths.
-