Olivier Bertrand
c055e5e0ef
- Add the DECIMAL data type (TYPE_DECIM)
...
Change the variable name of the DOUBLE type from TYPE_FLOAT to TYPE_DOUBLE
Change some names to reflect ODBC version 3. This affects some variable
names, function names and catalog table column names.
Qualifier -> Catalog
Owner (Creator) -> Schema
Length -> Precision
Prec -> Scale
modified:
storage/connect/catalog.h
storage/connect/colblk.cpp
storage/connect/colblk.h
storage/connect/filamdbf.cpp
storage/connect/global.h
storage/connect/ha_connect.cc
storage/connect/myconn.cpp
storage/connect/mysql-test/connect/r/mysql_new.result
storage/connect/mysql-test/connect/r/odbc_oracle.result
storage/connect/myutil.cpp
storage/connect/odbconn.cpp
storage/connect/plgdbutl.cpp
storage/connect/rcmsg.c
storage/connect/reldef.cpp
storage/connect/reldef.h
storage/connect/tabcol.cpp
storage/connect/tabcol.h
storage/connect/tabdos.cpp
storage/connect/tabfmt.cpp
storage/connect/tabmysql.cpp
storage/connect/tabodbc.cpp
storage/connect/tabodbc.h
storage/connect/tabsys.cpp
storage/connect/tabutil.cpp
storage/connect/tabwmi.cpp
storage/connect/tabxml.cpp
storage/connect/valblk.cpp
storage/connect/value.cpp
storage/connect/value.h
storage/connect/xindex.cpp
storage/connect/xobject.cpp
storage/connect/xobject.h
- Fix crash when GetTDB returned NULL in Open_Table
modified:
storage/connect/ha_connect.cc
- Fix assert error setting double values from PSZ
modified:
storage/connect/valblk.cpp
2013-12-28 15:46:49 +01:00
Alexander Barkov
889b08b050
Adding tests for TABLE_TYPE=ODBC with Oracle.
2013-12-25 18:24:37 +04:00
Olivier Bertrand
ec906f928b
- Fix MDEV-5340
...
modified:
storage/connect/odbconn.cpp
2013-12-20 12:24:24 +01:00
Alexander Barkov
f40b99626d
Merge 10.0->10.0-connect
2013-12-20 13:46:45 +04:00
Alexander Barkov
a6e5ac2279
MDEV-4929 Myanmar collation
2013-12-20 12:42:33 +04:00
Alexander Barkov
e9b3c97141
Merge 10.0-base->10.0
2013-12-19 17:54:02 +04:00
Alexander Barkov
e1b2de5f0b
A post-fix for MDEV-5009 don't look inside /*!50700 ... */ comments
...
Fixing "/*100000 ...*/" comments (i.e. MySQL style with 6-digits),
which were unintentionally broken in the MDEV-5009 patch.
modified:
mysql-test/r/comments.result
mysql-test/t/comments.test
sql/sql_lex.cc
2013-12-19 17:50:08 +04:00
Olivier Bertrand
d05ccc2324
- Add extra column info in discovery
...
modified:
storage/connect/ha_connect.cc
storage/connect/myconn.cpp
storage/connect/odbconn.cpp
storage/connect/plgdbsem.h
2013-12-19 12:56:06 +01:00
Alexander Barkov
06ebc6cc50
MDEV-4838 Wrong metadata for DATE_ADD('string', INVERVAL)
...
The problem seems to be fixed by some earlier change
and is not reproducible any longer. Only adding a test case.
2013-12-19 12:39:40 +04:00
Alexander Barkov
ece71fafd6
Merge 10.0-base->10.0
2013-12-18 01:56:13 +04:00
Alexander Barkov
fa7faa2955
MDEV-5009 don't look inside /*!50700 ... */ comments
2013-12-18 01:08:39 +04:00
Alexander Barkov
d253599b83
Merge 10.0->10.0-connect
2013-12-17 17:50:55 +04:00
Alexander Barkov
90d022404c
Fixing a compilation warning
2013-12-17 17:42:19 +04:00
Alexander Barkov
9f4dd86c2e
Merge 10.0-base->10.0
2013-12-17 17:28:48 +04:00
Alexander Barkov
768751c786
Merge 5.5->10.0-base
2013-12-17 16:23:08 +04:00
Alexander Barkov
dc407270a1
MDEV-5453 Assertion `src' fails in my_strnxfrm_unicode on GROUP BY MID(..) WITH ROLLUP
...
Fixed a wrong assertion.
2013-12-17 15:19:26 +04:00
Elena Stepanova
71f4a24d06
MDEV-5452 10.0 does not build on openSUSE 13.1
...
Also known as MySQL#70047 and BUG#17316314 (srv_buf_size not declared).
The workaround is taken from MySQL 5.6 tree:
BUG#17316314 - SRV_BUF_SIZE NOT DECLARED
Temporary fix. Disabling FALLOC_FL_PUNCH_HOLE for now
2013-12-17 14:40:56 +04:00
Alexander Barkov
752c6edda2
Merge from 10.0-base
2013-12-17 13:26:35 +04:00
Alexander Barkov
074455105c
MDEV-5445 Server crashes in Item_func_like::fix_fields on LIKE ExtractValue(..)
...
backporting from the main 10.0
modified:
mysql-test/r/func_like.result
mysql-test/t/func_like.test
sql/item_cmpfunc.cc
2013-12-17 13:23:05 +04:00
Alexander Barkov
c5004e399e
MDEV-5445 Server crashes in Item_func_like::fix_fields on LIKE ExtractValue(..)
...
Fixed.
2013-12-17 01:38:44 +04:00
Olivier Bertrand
18112a3f0c
- Fix logical error in STRBLK::SetValue
...
modified:
storage/connect/valblk.cpp
- Fix compiler warning in ODBConn::GetCatInfo
modified:
storage/connect/odbconn.cpp
2013-12-16 17:40:42 +01:00
Sergei Golubchik
c1a6522875
merge
2013-12-16 13:28:35 +01:00
Sergey Vojtovich
4cee899fb7
MDEV-5319 - Request for merge of Oqgraph v3 functionality
...
storage/oqgraph into 10.0
- since oqgraph depends on Judy, move it to a separate package (DEB)
2013-12-16 16:03:34 +04:00
Sergei Golubchik
d28d3ba40d
10.0-base merge
2013-12-16 13:02:21 +01:00
Sergey Vojtovich
4541c4d3fb
MDEV-5319 - Request for merge of Oqgraph v3 functionality
...
storage/oqgraph into 10.0
- fixed sys_vars.all_vars (added oqgraph_allow_create_integer_latch_basic.test)
- since oqgraph depends on Judy, move it to a separate package
2013-12-16 13:55:43 +04:00
Sergey Vojtovich
cd342e78b8
MDEV-4748 - metadata_lock_info plugin
...
- restore find_ticket() private status, declare friend function instead
- added metadata_lock_info to DEFAULT_SUITES
2013-12-16 12:26:20 +04:00
Olivier Bertrand
e2804d9b74
- Fix MDEV-5393 and MDEV-5434. It is a major update of ODBC catalog tables
...
processing that takes care of:
- Drastically reduce the amount of storge needed to process them.
- Handle longjmp's.
- Makes the line limit an opion (MAXRES)
- Schema can also be specified with the DBNAME option.
- Issue warnings on fetch errors or when result lines have been limited.
- Change some column names to reflect ODBC version 3 standard.
The documentation have been updated accordingly
modified:
storage/connect/filamdbf.cpp
storage/connect/ha_connect.cc
storage/connect/myconn.cpp
storage/connect/mysql-test/connect/r/odbc.result
storage/connect/mysql-test/connect/r/odbc_postgresql.result
storage/connect/mysql-test/connect/r/odbc_sqlite3.result
storage/connect/mysql-test/connect/r/odbc_xls.result
storage/connect/mysql-test/connect/r/xml.result
storage/connect/mysql-test/connect/t/odbc_postgresql.test
storage/connect/odbccat.h
storage/connect/odbconn.cpp
storage/connect/odbconn.h
storage/connect/plgdbsem.h
storage/connect/plgdbutl.cpp
storage/connect/rcmsg.c
storage/connect/tabfmt.cpp
storage/connect/table.cpp
storage/connect/tabodbc.cpp
storage/connect/tabodbc.h
storage/connect/tabutil.cpp
storage/connect/tabwmi.cpp
storage/connect/user_connect.cc
storage/connect/valblk.cpp
storage/connect/valblk.h
storage/connect/value.cpp
2013-12-16 01:32:47 +01:00
Alexander Barkov
4dafdf160f
Merge 10.0-connect -> 10.0.
2013-12-16 01:19:03 +04:00
Sergei Golubchik
6bf10fac44
5.5 merge
2013-12-15 15:57:26 +01:00
Sergei Golubchik
39a8d7965d
don't run tokudb tests for --embedded by default
2013-12-15 15:55:15 +01:00
Sergei Golubchik
47b615d84b
Fix tokudb.hotindex-insert-bigchar failure in buildbot.
...
This test needs at least 320M for tokudb-max-lock-memory.
Normally tokudb-max-lock-memory is auto-sized to be 1/16th
of the available RAM size, and many our test VMs have 4G of RAM.
2013-12-15 11:31:57 +01:00
Igor Babaev
8efaff4959
Fixed bug mdev-5415.
...
Do not calculate selectivity of conditions for the tables of the information schema.
2013-12-14 19:13:37 -08:00
Alexander Barkov
d8ac8d187d
Merge 10.0->10.0-connect
2013-12-14 15:37:55 +04:00
Sergei Golubchik
ff485d2dc4
MDEV-5438 A view can mask a table that supports discovery
2013-12-13 14:26:10 +01:00
Alexander Barkov
0c0fe7a862
Fixing temporarily test failures in ctype_xxx.
...
The problem reported as MDEV-5444.
2013-12-13 17:18:10 +04:00
Sergei Golubchik
e68bccc743
5.3 merge
2013-12-13 13:00:38 +01:00
Sergey Vojtovich
258bf32d3c
MDEV-4748 - metadata_lock_info plugin
...
- include metadata_lock_info plugin into debian packages
- ignore metadata_lock_info plugin in mysqld--help test
- let test suite run with built-in metadata_lock_info plugin
2013-12-13 12:42:45 +04:00
Igor Babaev
3ec4296ec4
Fixed bug mdev-5410.
...
The fix for bug #27937 was incomplete: it did not handle correctly the queries
containing UNION with global ORDER BY in subselects.
2013-12-12 13:55:33 -08:00
Sergei Golubchik
ca083a764f
my_addr_resolve: don't resolve unknown addresses to ??:0(??), but return an error instead
...
(better to have an address in the output than ??:0)
2013-12-12 18:14:14 +01:00
Sergei Golubchik
c47dd98f90
backport from 10.0: "bugfix: MYSQL_THDVAR_STR plugins with PLUGIN_VAR_MEMALLOC didn't work
...
(PLUGIN_VAR_MEMALLOC is 0x8000 and cannot be saved in a char as such)"
2013-12-12 18:14:08 +01:00
Sergei Golubchik
5313e00199
fix tokudb tests that fail in --ps-protocol
...
https://github.com/Tokutek/ft-engine/issues/153
2013-12-12 14:58:44 +01:00
Alexander Barkov
1e711c8d04
ConnectSE: making odbc_postgresql.test independent from
...
the system locale (on Linux) and code pages (on Windows).
2013-12-12 17:26:01 +04:00
Sergei Golubchik
976e242c78
update tokudb version. mask tests that are broken there.
2013-12-12 11:42:00 +01:00
Olivier Bertrand
a58e4e8af1
- Fix (temporarily) bug on odbc_postgresql.test
...
modified:
storage/connect/mysql-test/connect/t/odbc_postgresql.test
storage/connect/user_connect.cc
2013-12-12 01:33:53 +01:00
Olivier Bertrand
7e8504b523
- Add longjmp initialization in PlgAllocResult
...
modified:
storage/connect/plgdbutl.cpp
- Update type translation to take care of type_modifiers
modified:
storage/connect/ha_connect.cc
storage/connect/myutil.cpp
storage/connect/myutil.h
storage/connect/odbconn.cpp
2013-12-11 23:33:36 +01:00
Igor Babaev
fde2777b27
Another attempt to fix the memory leak of mdev-5400.
2013-12-11 10:13:08 -08:00
Sergei Golubchik
70f6ac10b3
MDEV-5323 Ctrl-C not working under Ubuntu
...
don't reset interrupted_query after sending the KILL signal, otherwise
the client won't know it has to stop fetching and printing the data.
2013-12-11 17:42:33 +01:00
Olivier Bertrand
3a7f4f241e
- Commit merged files from Alexander
...
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
2013-12-11 16:57:25 +01:00
Olivier Bertrand
f69980c6df
- Fix errors and warnings occuring in --embedded tests
...
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
2013-12-11 16:52:01 +01:00
Alexander Barkov
83416c0fee
Fixing the message displayed when the test PostgreSQL data source name
...
does not exist.
2013-12-11 19:47:37 +04:00