Alexander Barkov
cd828fb916
MDEV-9215 Detect cmp_type() and result_type() from field_type()
...
Part4: Deriving Item_temporal_hybrid_func from Type_handler_hybrid_field_type
2015-12-02 10:49:16 +04:00
Alexander Barkov
47a8c6c397
- MDEV-9215 Detect cmp_type() and result_type() from field_type()
...
Part3: Deriving Item_splocal from Type_handler_hybrid_field_type
2015-12-02 09:26:34 +04:00
Alexander Barkov
3e471bf3e9
MDEV-9215 Detect cmp_type() and result_type() from field_type()
...
Part2: deriving Item_sum_sum from Type_handler_hybrid_field_type,
removing "Item_result Item_sum_sum::hybrid_type".
2015-12-01 14:20:09 +04:00
Alexander Barkov
607ef786fc
MDEV-9215 Detect cmp_type() and result_type() from field_type()
...
(A dependency task for MDEV-4912 Add a plugin to field types)
2015-12-01 13:13:23 +04:00
Alexander Barkov
e3fed3b9b4
A patch for MDEV-4912 Add a plugin to field types (column types)
...
Adding Column_definition::make_field() as a convenience
wrapper for ::make_field.
2015-11-27 20:50:19 +04:00
Sergey Vojtovich
9d5c9379a6
MDEV-7780 - Support for faking server version
...
Added --version=str (optional argument sets server version string).
2015-11-27 11:32:30 +04:00
Alexander Barkov
cc8e863390
Removing sp_variable::type, as it was always set to the same value with
...
sp_variable::field_def.type, so there was data redundancy.
2015-11-26 15:04:55 +04:00
Alexander Barkov
b50fa6dab2
Removing the unused "field_type" parameter in
...
sp_head::fill_field_definition().
2015-11-26 14:40:40 +04:00
Sergey Vojtovich
253be36c0f
MDEV-7376 - Removal of the tool "mysql_zap"
2015-11-26 11:34:18 +04:00
Sergey Vojtovich
0b5e975cf8
MDEV-8654 - Remove mysqlbug
...
mysqlbug has been obsolete since MySQL 5.5, and has been removed in MySQL 5.7.
It's also of no use for reporting MariaDB bugs. The script and the associated
man page removed from MariaDB.
2015-11-26 11:34:18 +04:00
Sergey Vojtovich
e562b43222
MDEV-8111 - remove "fast mutexes"
...
They aren't faster than normal mutexes. They're disabled by default for years,
so de facto it's dead code, never used.
2015-11-26 11:34:17 +04:00
Sergey Vojtovich
e4212898a6
MDEV-8542 - The "aria_recover" variable should be renamed "aria_recover_options"
...
to match MyISAM
Renamed aria_recover to aria_recover_options.
2015-11-26 11:34:17 +04:00
Sergey Vojtovich
54689e1d5c
MDEV-8715 - Obsolete sql_alloc() in favor of THD::alloc() and thd_alloc()
...
The following left in semi-improved state to keep patch size reasonable:
- Field operator new: left thd_alloc(current_thd)
- Sql_alloc operator new: left thd_alloc(thd_get_current_thd())
- Item_args constructors: left thd_alloc(thd)
- Item_func_interval::fix_length_and_dec(): no THD arg, have to call current_thd
- Item_func_dyncol_exists::val_int(): same
- Item_dyncol_get::val_str(): same
- Item_dyncol_get::val_int(): same
- Item_dyncol_get::val_real(): same
- Item_dyncol_get::val_decimal(): same
- Item_singlerow_subselect::fix_length_and_dec(): same
2015-11-26 11:34:17 +04:00
Sergey Vojtovich
753d1f868c
MDEV-8716 - Obsolete sql_calloc() in favor of THD::calloc() and thd_calloc()
2015-11-26 11:34:16 +04:00
Sergey Vojtovich
0746a07708
MDEV-8718 - Obsolete sql_strmake() in favor of THD::strmake() and thd_strmake()
2015-11-26 11:34:16 +04:00
Sergey Vojtovich
464394bf47
MDEV-8717 - Obsolete sql_strdup() in favor of THD::strdup() and thd_strdup()
2015-11-26 11:34:16 +04:00
Sergey Vojtovich
13af8650a8
MDEV-8719 - Obsolete sql_memdup() in favor of THD::memdup() and thd_memdup()
2015-11-26 11:34:15 +04:00
Alexander Barkov
55e67c3e34
MDEV-8095 Split Create_field
...
Part2: moving a few other fields from Column_definition to Create_field.
sizeof(sp_variable) is now 200 bytes (vs 248 bytes in 10.1)
2015-11-25 11:57:20 +04:00
Alexander Barkov
00ed55c71a
A joint patch for:
...
- MDEV-8093 sql_yacc.yy: add %type create_field for field_spec and column_def
and partially:
- MDEV-8095 Split Create_field
2015-11-25 11:22:10 +04:00
Sergei Golubchik
a099686e2e
cleanup: remove Field->stored_in_db, Create_field->stored_in_db
...
and don't set Create_field->sql_type to MYSQL_TYPE_VIRTUAL
temporarily only to change it again few lines later.
2015-11-24 22:21:42 +01:00
Sergei Golubchik
13989b36c1
cleanup: remove useless internal fied flag
2015-11-24 22:21:42 +01:00
Sergei Golubchik
4434c5cee8
followup for optimizer_search_depth change
...
see commit 81e4ce5
2015-11-24 22:21:41 +01:00
Alexander Barkov
80ca997faa
Changing %type of opt_place from <NONE> to <const_simple_string>.
...
A prerequisite change for:
- MDEV-8093 sql_yacc.yy: add %type create_field for field_spec and column_def
- MDEV-8094 sql_yacc.yy: get rid of the rules "opt_if_not_exists_table_element"
and "opt_if_exists_table_element"
- MDEV-8095 Split Create_field
2015-11-24 12:44:35 +04:00
Sergei Golubchik
58a6b9ebff
cmake: message_once
2015-11-23 16:02:56 +01:00
Sergei Golubchik
4f84d9ce88
cmake: MYSQL_PARSE_ARGUMENTS -> CMAKE_PARSE_ARGUMENTS
2015-11-23 16:02:56 +01:00
Sergei Golubchik
061f84ab86
cmake: remove unused files
2015-11-23 16:02:56 +01:00
Sergei Golubchik
65d69c84cf
cmake: remove unused checks, options, and symbols
2015-11-23 16:02:56 +01:00
Sergei Golubchik
e4b88235b5
cmake: rename symbols used internally by check_compiler_flag.cmake
...
(that is MY_CHECK_C_COMPILER_FLAG, MY_CHECK_CXX_COMPILER_FLAG,
MY_CHECK_AND_SET_COMPILER_FLAG)
This is to have a clear "internal" name prefix and to avoid
mixing them with hand-named symbols
2015-11-23 16:02:56 +01:00
Sergei Golubchik
679aa122bf
fix debian packaging for 10.2
2015-11-23 16:02:56 +01:00
Alexander Barkov
d73cf394a5
MDEV-9170 Get rid of LEX::length and LEX::dec
...
A preparatory task for:
MDEV-4912 Add a plugin to field types (column types)
2015-11-23 18:55:01 +04:00
Alexander Barkov
b7e9bf9122
MDEV-9169 BINLOG_SYM in keywords_sp causes shift/reduce conflicts
2015-11-23 17:52:09 +04:00
Otto Kekäläinen
b7eaba474d
Bump debian/changelog for 10.2 series
2015-11-23 16:11:06 +04:00
Alexander Barkov
6b97b0c5e0
MDEV-9166 Wrong error message and shift/reduce conflicts in the RETURNS clause
2015-11-23 14:49:23 +04:00
Sergei Golubchik
d0dc7b3e92
Merge branch '10.1' into 10.2
2015-11-20 11:18:16 +01:00
Sergei Golubchik
0d66c7dd84
update tokudb to 10.2
2015-11-20 11:14:21 +01:00
Sergei Golubchik
2fc3dc393d
Merge branch '10.1' into bb-10.1-serg
2015-11-20 09:31:13 +01:00
Sergei Golubchik
e52c753ab9
cleanup
2015-11-20 09:16:36 +01:00
Nirbhay Choubey
df25018c2a
MDEV-6264: CentOS missing lsof as dependency for MariaDB-server (10.1)
...
wsrep.cmake should be included before cpack_rpm.cmake as it defines
WITH_WSREP, required by cpack_rpm.cmake to conditionally include galera
helper tools in server package's requires list.
2015-11-20 09:16:36 +01:00
Sergei Golubchik
87c306802b
update test results
2015-11-20 09:16:36 +01:00
Monty
1e156e1436
Fixed compile warnings on Solaris
2015-11-20 10:00:06 +02:00
Monty
981b474753
Updated configure.pl to new plugin syntax
...
--with-plugin-name=xxxx
--with-plugins= now uses =AUTO instead of =1
2015-11-20 09:57:58 +02:00
Sergei Golubchik
fdba672b6f
Post-merge fixes for Connect engine
...
1. define connect_EXPORTS, this causes the engine to use MariaDB
versions for timestamp<->struct tm conversion instead of
TZ-dependent libc versions.
2. remove check_access() that was removed once, but re-appeared
during a complex merge.
3. disable a totally broken test
4. update test results
5. skip odbc_firebird test when no firebird DSN is available
2015-11-19 21:23:35 +01:00
Sergei Golubchik
e3d37bfebf
Merge branch 'connect/10.1' into 10.1
2015-11-19 18:09:06 +01:00
Sergei Golubchik
7f19330c59
Merge branch 'github/10.0-galera' into 10.1
2015-11-19 17:48:36 +01:00
Sergei Golubchik
4046ed12bc
rbr and savepoint in a subtatement
...
Apply MySQL fix for bug#76727:
https://github.com/mysql/mysql-server/commit/69d4e72c
Bug#20901025: SLAVE ASSERTION IN UNPACK_ROW WITH ROLLBACK TO
SAVEPOINT IN ERROR HANDLER
2015-11-19 17:04:19 +01:00
Sergei Golubchik
33ab30dfe2
fix tokudb compilation with bundled zlib
2015-11-19 16:39:40 +01:00
Sergei Golubchik
d4017d498f
fix for windows builders
2015-11-19 15:53:36 +01:00
Sergei Golubchik
c99fba2678
compilation warning
2015-11-19 15:53:16 +01:00
Sergei Golubchik
beded7d9c9
Merge branch '10.0' into 10.1
2015-11-19 15:52:14 +01:00
Sergei Golubchik
af71da5d2f
remove duplicated like
2015-11-19 14:01:16 +01:00