Commit graph

1312 commits

Author SHA1 Message Date
Kentoku SHIBA
53372af2c1 fix crash at using spider_copy_tables() 2014-03-25 04:49:51 +09:00
Kentoku SHIBA
993dd378b7 fix for MariaDB 10.0.7 building errors 2014-03-25 04:48:23 +09:00
Kentoku SHIBA
4e9e561549 log spider warnings 2014-03-25 04:46:43 +09:00
Kentoku SHIBA
24db691dd7 add new xa naming rule 2014-03-25 04:45:34 +09:00
Kentoku SHIBA
7d9342be70 add version variables 2014-03-25 04:43:43 +09:00
Kentoku SHIBA
987f0a91cb copy tables with internal xa 2014-03-25 04:42:40 +09:00
Kentoku SHIBA
b7938cceee scale for registering xid 2014-03-25 04:40:46 +09:00
Kentoku SHIBA
92fb1f3b6a MDEV-5299 crash at using show index 2014-03-25 04:39:17 +09:00
Kentoku SHIBA
20e144a667 fix crash at using mysqldump 2014-03-25 04:35:56 +09:00
Kentoku SHIBA
f2a5353966 find temporary table 2014-03-25 04:34:15 +09:00
Kentoku SHIBA
27772bd776 partition auto increment init 2014-03-25 04:32:22 +09:00
Kentoku SHIBA
004ea5171c bka and count 2014-03-25 04:31:11 +09:00
Kentoku SHIBA
b7bb65d549 fix for MariaDB 10.0.6 building error 2014-03-25 04:29:52 +09:00
Kentoku SHIBA
ad54787d55 append group by for no order by 2014-03-25 04:26:48 +09:00
Kentoku SHIBA
b5ebf1e29b fix line endings 2014-03-25 04:23:24 +09:00
Kentoku SHIBA
356a665bc9 internal xa 2014-03-25 04:17:18 +09:00
Kentoku SHIBA
01d129489c crash if data node down before commit 2014-03-25 04:14:30 +09:00
Kentoku SHIBA
d64c82517d Spider 3.1 2014-03-25 04:11:00 +09:00
Kentoku SHIBA
954e650356 temporary reverting for merging Spider 2014-03-25 04:09:43 +09:00
Sergei Golubchik
c73a0638c2 remove append_escaped(), use String::append_for_single_quote() instead 2014-03-26 09:41:52 +01:00
Sergei Golubchik
94c97e5b68 update plugins' maturity levels:
old plugins get STABLE
newer plugins get GAMMA
those that had bugs recently get BETA
2014-03-19 09:56:46 +01:00
Sergey Vojtovich
d12c7adf71 MDEV-5314 - Compiling fails on OSX using clang
This is port of fix for MySQL BUG#17647863.

revno: 5572
revision-id: jon.hauglid@oracle.com-20131030232243-b0pw98oy72uka2sj
committer: Jon Olav Hauglid <jon.hauglid@oracle.com>
timestamp: Thu 2013-10-31 00:22:43 +0100
message:
  Bug#17647863: MYSQL DOES NOT COMPILE ON OSX 10.9 GM

  Rename test() macro to MY_TEST() to avoid conflict with libc++.
2014-02-19 14:05:15 +04:00
Sergei Golubchik
e8193eeb8d skip performance_schema also in spider/bg suite
(as it was done for spider suite)
2014-02-06 21:58:38 +01:00
Sergei Golubchik
73aea0a732 MDEV-5499 install_spider.sql tries to create tables with DEFAULT clause for TEXT columns 2014-02-06 16:25:40 +01:00
Sergei Golubchik
5eb145858d more solaris fixes. xtradb and spider. 2014-02-05 17:27:41 +01:00
Elena Stepanova
625d9f4ef8 Spider tests failed in buildbot due to the lack of memory.
Turned off Performance Schema for Spider test suite
2014-02-05 03:51:18 +04:00
Sergei Golubchik
1df23d6f0f mtr: print a detailed warning on a uninit assignment in the [ENV] group
spider suites: #varname is a valid syntax for a variable name, don't use it for comments
2013-12-25 10:13:15 +01:00
Sergei Golubchik
d28d3ba40d 10.0-base merge 2013-12-16 13:02:21 +01:00
Sergei Golubchik
ab3604989c MDEV-4243 [PATCH] Warnings/errors while compiling with clang
fix the code to compile with clang. fix warnings too.

include/probes_mysql_nodtrace.h:
  clang++ doesn't like numeric _constants_ being used in ||
  (it suspects that the intention was | ). Boolean constants are ok.
sql/hostname.cc:
  only used in DBUG_ASSERT
sql/item.cc:
  str_to_time and str_to_datetime return bool, not MYSQL_TIMESTAMP_xxx
sql/item_func.cc:
  str_to_datetime_with_warn() returns bool, not MYSQL_TIMESTAMP_xxx
storage/cassandra/CMakeLists.txt:
  CMAKE_CXX_FLAGS can be empty
storage/connect/odbconn.cpp:
  HWND is void*
storage/connect/user_connect.h:
  deprecated on FreeBSD and unused anyway
storage/connect/value.cpp:
  bad characters inside. unused.
storage/spider/spd_trx.cc:
  clang++ warns that memset will also overwrite vtbl. it might be as well a good idea,
  as it asserts that the object will only be used as a storage.
  silence the warning.
2013-11-28 22:35:59 +01:00
Sergei Golubchik
1387e71531 MDEV-5281 Partitioning issue after upgrade from 10.0.3-1 to 10.0.5-1
merged from 5.6:
Bug#14521864: MYSQL 5.1 TO 5.5 BUGS PARTITIONING
Bug#16589511: MYSQL_UPGRADE FAILS TO WRITE OUT ENTIRE ALTER TABLE ... ALGORITHM= ... STATEMENT
Bug#16274455: CAN NOT ACESS PARTITIONED TABLES WHEN DOWNGRADED FROM 5.6.11 TO 5.6.10

plus minor changes from 5.6, mainly comments
2013-11-28 12:10:44 +01:00
Alexander Barkov
1345a75922 MroongaSE: addint thd_autoinc and thd_error_context plugin services 2013-12-12 19:18:49 +04:00
Kentoku SHIBA
0b914b39ef fix MEDV-4736 Assertion `! is_set()' fails in Diagnostics_area::set_ok_status on UPDATE which violates constraint on a remote table 2013-09-30 05:11:44 +09:00
Kentoku SHIBA
e980797da3 fix crash at thd_wait_begin() 2013-09-25 02:42:49 +09:00
Kentoku SHIBA
240e62b890 fix MDEV-4735 Assertion `! is_set()' fails in Diagnostics_area::set_ok_status on attempt to create a temporary SPIDER table connecting to non-existing source 2013-09-19 03:05:52 +09:00
Kentoku SHIBA
708a28ff79 fix MDEV-4738 INSERT DELAYED on a SPIDER table doesn't produce ER_DELAYED_NOT_SUPPORTED, doesn't work like delayed, and doesn't honor lock_wait_timeout like normal INSERT 2013-09-19 03:03:55 +09:00
Kentoku SHIBA
178e6cfb28 fix MDEV-4737 Server crashes in spider_mysql_handler::append_match_against on SELECT .. MATCH .. AGAINST .. BOOLEAN MODE 2013-09-19 03:01:32 +09:00
Kentoku SHIBA
6c76e5032a fix build errors 2013-09-17 22:08:07 +09:00
Kentoku SHIBA
d03890e5ee add debug logs. 2013-09-17 03:31:13 +09:00
Kentoku SHIBA
0b4a89a152 fix MDEV-4949 Spider engine causes compilation errors if compiled without partitioning 2013-09-17 03:30:03 +09:00
Kentoku SHIBA
dc01d230ed add some direct aggregate feature. 2013-09-17 03:22:54 +09:00
Kentoku SHIBA
e9d53a384c fix a case of different linked table name for mrr. 2013-09-17 03:19:55 +09:00
Kentoku SHIBA
74bea98ea5 fix mrr duplicate key 2013-09-17 03:17:26 +09:00
Kentoku SHIBA
6458e115a0 add spider_bka_mode=2 2013-09-17 03:14:36 +09:00
Kentoku SHIBA
38c9476513 Change for mearging MariaDB 10.0.4. 2013-08-24 18:37:49 +09:00
Kentoku SHIBA
48ed7f10e2 Add mysql.spider_xa_failed_log table. 2013-08-24 15:20:44 +09:00
Kentoku SHIBA
a4db29a21c Fix for xa transaction restart when disconnection data node connection. 2013-08-24 15:16:30 +09:00
Kentoku SHIBA
369fa4c3eb Fix for crash bug #4733. 2013-08-24 15:00:32 +09:00
Kentoku SHIBA
39d4b96afa Fix for crash bug #4732. 2013-08-24 14:57:37 +09:00
Kentoku SHIBA
f12e92db86 Fix for parallel search. #1129074 2013-08-24 14:51:19 +09:00
Kentoku SHIBA
49a4bbe1e7 Add spider_general_log and spider_log_result_errors feature. 2013-08-24 14:42:40 +09:00
Kentoku SHIBA
e1fc2f4d28 Fix valgrind warnings. 2013-08-24 14:35:45 +09:00
Kentoku SHIBA
04471ba7b0 Add flugs function parameter to start_bulk_insert 2013-08-24 14:29:43 +09:00
Kentoku SHIBA
0a286927d9 Fulltext search optimization. Discard match fields. 2013-08-24 14:23:11 +09:00
Kentoku SHIBA
e48e717bef Revert change for 10.0.4. It's remerge later. 2013-08-24 14:11:23 +09:00
Sergey Vojtovich
31007e3422 Merge fixes for:
MDEV-4797 - Spider crash on show create table spider table and replication
            multi source to one of the partitions
MDEV-4747 - Spider: add missing install_spider.sql
2013-08-08 12:05:02 +04:00
Kentoku SHIBA
ed2eb25799 fix for MDEV-4797 2013-07-31 03:14:57 +09:00
Sergey Vojtovich
43946c0888 MDEV4786 - merge 10.0-monty → 10.0
sql/sql_table.cc:
  Removed false assertion that HA_NO_COPY_ON_ALTER is merge specific.
  This flag is used at least by Spider and Connect.
storage/spider/ha_spider.cc:
  Renamed THD::stmt_da -> THD::get_stmt_da().
  Renamed KEY::key_parts -> KEY::user_defined_key_parts.
  Renamed ALTER_* flags -> Alter_info::ALTER_*.
storage/spider/spd_conn.cc:
  Renamed THD::stmt_da -> THD::get_stmt_da().
storage/spider/spd_db_conn.cc:
  Renamed MYSQL_ERROR -> Sql_condition.
  Renamed KEY::key_parts -> KEY::user_defined_key_parts.
storage/spider/spd_db_include.h:
  current_comment_start argument of generate_parition_syntax()
  was removed during merge.
storage/spider/spd_db_mysql.cc:
  Renamed KEY::key_parts -> KEY::user_defined_key_parts.
storage/spider/spd_ping_table.cc:
  Renamed THD::stmt_da -> THD::get_stmt_da().
storage/spider/spd_table.cc:
  Include my_getopt.h so that it exports my_defaults_file and
  my_defaults_extra_file.
  Renamed KEY::key_parts -> KEY::user_defined_key_parts.
2013-07-23 17:22:02 +04:00
Alexander Barkov
d98584f56a Adding support for the SQL-standard temporal literals.
added:
  mysql-test/r/temporal_literal.result
  mysql-test/t/temporal_literal.test
modified:
  client/mysqlbinlog.cc
  include/my_time.h
  mysql-test/r/cast.result
  mysql-test/r/partition_innodb.result
  mysql-test/t/cast.test
  mysql-test/t/partition_innodb.test
  sql-common/my_time.c
  sql/field.cc
  sql/item.cc
  sql/item.h
  sql/item_cmpfunc.cc
  sql/item_create.cc
  sql/item_create.h
  sql/item_strfunc.cc
  sql/item_timefunc.cc
  sql/item_timefunc.h
  sql/sql_select.cc
  sql/sql_time.cc
  sql/sql_time.h
  sql/sql_yacc.yy
  storage/spider/spd_db_mysql.cc
2013-07-10 12:12:27 +04:00
Kentoku SHIBA
820e593168 change CMakeLists.txt for install install_spider.sql.
MDEV-4747 - Spider: add missing install_spider.sql
2013-07-04 02:55:48 +09:00
Kentoku SHIBA
1b03e8fd74 move installing sql file into scripts directory 2013-06-29 11:35:04 +09:00
Kentoku SHIBA
ad5cb51d5e add installing sql file 2013-06-29 02:08:02 +09:00
Sergey Vojtovich
0b116de7c5 MDEV-4438 - Spider storage engine 2013-06-27 15:18:48 +04:00