Vladislav Vaintroub
7354dc6773
MDEV-13384 - misc Windows warnings fixed
2017-09-28 17:20:46 +00:00
Oleksandr Byelkin
064d1a480c
MDEV-12579: Incorrect arguments to mysqld_stmt_execute when using LOBs
...
Parameters can be MYSQL_TYPE_VARCHAR for long data load.
2017-06-22 15:28:57 +02:00
Marko Mäkelä
8f643e2063
Merge 10.1 into 10.2
2017-05-23 11:09:47 +03:00
Marko Mäkelä
b61700c221
Merge 10.0 into 10.1
2017-05-23 08:59:03 +03:00
Sergei Golubchik
7c03edf2fe
MDEV-6262 analyze the coverity report on mariadb
...
uploaded 10.0, analyzed everything with the Impact=High
(and a couple of Medium)
2017-05-19 20:26:56 +02:00
Sergei Golubchik
c91ecf9e9b
Merge branch '10.1' into 10.2
...
Revert commit db0917f68f
, because the fix for MDEV-12696
is coming from 5.5 and 10.1 in this merge.
2017-05-09 13:24:52 +02:00
Sergei Golubchik
d738722eee
Merge branch '10.0' into 10.1
2017-05-08 14:58:49 +02:00
Monty
e3521ab904
Fixed some bugs in fork_big.pl which caused some tests to die early
...
- Changed to 'strict'
- Fixed scope of variables
- Made timing smaller for of repair, check, flush and alter to get them to
trigger earlier
2017-05-05 18:25:35 +03:00
Sergei Golubchik
da4d71d10d
Merge branch '10.1' into 10.2
2017-03-30 12:48:42 +02:00
Oleksandr Byelkin
eb574697c0
fix test for windows 64
2017-03-10 22:44:52 +01:00
Oleksandr Byelkin
24cbc8dae3
MDEV-11966: Impossible to execute prepared ANALYZE SELECT
...
Prepare os ANALYZE now respond as EXPLAIN.
2017-03-09 11:04:51 +01:00
Marko Mäkelä
ad0c218a44
Merge 10.0 into 10.1
...
Also, implement MDEV-11027 a little differently from 5.5 and 10.0:
recv_apply_hashed_log_recs(): Change the return type back to void
(DB_SUCCESS was always returned).
Report progress also via systemd using sd_notifyf().
2017-03-09 08:53:08 +02:00
Vicențiu Ciorbaru
1acfa942ed
Merge branch '5.5' into 10.0
2017-03-03 01:37:54 +02:00
Sergei Golubchik
eef2101489
MDEV-11933 Wrong usage of linked list in mysql_prune_stmt_list
...
mysql_prune_stmt_list() was walking the list following
element->next pointers, but inside the loop it was invoking
list_add(element) that modified element->next. So, mysql_prune_stmt_list()
failed to visit and reset all elements, and some of them were left
with pointers to invalid MYSQL.
2017-02-27 12:35:10 +01:00
Sergei Golubchik
4a5d25c338
Merge branch '10.1' into 10.2
2016-12-29 13:23:18 +01:00
Nirbhay Choubey
9d8ec1468a
MDEV-11082: Fix mysql_client_test.c (by Elena)
2016-12-19 15:50:33 -05:00
Sergei Golubchik
a411d7f4f6
store/show vcols as item->print()
...
otherwise we'd need to store sql_mode *per vcol*
(consider CREATE INDEX...) and how SHOW CREATE TABLE would
support that?
Additionally, get rid of vcol::expr_str, just to make sure
the string is always generated and never leaked in the
original form.
2016-12-12 20:35:41 +01:00
Elena Stepanova
2584897833
MDEV-11082 mysql_client_test: test_ps_query_cache fails with group-concat-max-len=1M
...
test_bug14169 was setting session group_concat_max_len=1024 and
did not clean it up. Because of that test_ps_query_cache, when run
with group-concat-max-len != 1024, had different values in connections,
and was inserting into query cache when a hit was expected.
Fixed by adding a clean-up for the value in test_bug14169
2016-10-19 03:02:13 +03:00
Kristian Nielsen
e1ef99c3dc
MDEV-7145: Delayed replication
...
Merge feature into 10.2 from feature branch.
Delayed replication adds an option
CHANGE MASTER TO master_delay=<seconds>
Replication will then delay applying events with that many
seconds. This creates a replication slave that reflects the state of
the master some time in the past.
Feature is ported from MySQL source tree.
Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
2016-10-16 23:44:44 +02:00
Kristian Nielsen
a9fb480fd6
MDEV-7145: Delayed replication, fixing test failures.
...
Two merge error fixed, and testsuite updated to removed some other
test failues.
Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
2016-10-14 23:15:58 +02:00
Sergei Golubchik
66d9696596
Merge branch '10.0' into 10.1
2016-09-28 17:55:28 +02:00
Sergei Golubchik
77ce4ead81
Merge branch '5.5' into 10.0
2016-09-27 09:21:19 +02:00
Kristian Nielsen
9434431374
Fix free() after my_malloc() (should be my_free()).
...
Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
2016-09-24 13:50:42 +02:00
Sergei Golubchik
59d51f0c12
Merge branch '10.2' into bb-10.2-connector-c-integ-subm
2016-09-21 12:54:56 +02:00
Sergei Golubchik
ece01ef3dc
After-review changes
...
* remove redundant code
* fix tests
* move declarations and defines where they belong
2016-09-12 17:51:50 +02:00
Sergei Golubchik
1fc49d3d1a
Add C/C as a submodule in libmariadb/
...
also
* fix includes
* rename cmake macros and targets to avoid name clashes
2016-09-12 17:46:35 +02:00
Sergei Golubchik
06b7fce9f2
Merge branch '10.1' into 10.2
2016-09-09 08:33:08 +02:00
Vladislav Vaintroub
56c4cfe0be
MDEV-9293 - Use MariaDB's Connector/C in server
2016-08-25 16:27:57 +02:00
Sergei Golubchik
6b1863b830
Merge branch '10.0' into 10.1
2016-08-25 12:40:09 +02:00
Vladislav Vaintroub
31a8cf54c8
Revert "MDEV-9293 Connector/C integration"
...
This reverts commit 7b89b9f510
.
2016-08-19 15:46:27 +00:00
Vladislav Vaintroub
7b89b9f510
MDEV-9293 Connector/C integration
2016-08-19 15:27:37 +00:00
Oleksandr Byelkin
05f61ba460
MDEV-10559: main.mysql_client_test_nonblock crashes in buildbot on 10.0
...
fix for async operations
2016-08-16 21:23:57 +02:00
Oleksandr Byelkin
df09d5e724
MDEV-10559: main.mysql_client_test_nonblock crashes in buildbot on 10.0
...
Fix tests which possibly fail connects in non_blocking mode.
2016-08-15 16:29:23 +02:00
Sergei Golubchik
932646b1ff
Merge branch '10.1' into 10.2
2016-06-30 16:38:05 +02:00
Sergei Golubchik
87e3e67f43
Merge branch '10.0' into 10.1
2016-05-04 15:23:26 +02:00
Sergei Golubchik
7b58fd5ef0
tests -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci
...
This fixes:
MDEV-7693 MariaDB - mysql-test - SUITE:funcs_1 - funcs_1.is_tables_mysql is failing on TABLE_COLLATION /DATABASE_COLLATION
MDEV-8487 mysql-test - main.information_schema 'xtradb' fails
MDEV-8486 mysql-test - main.bootstrap fails
2016-04-24 18:15:20 +02:00
Monty
cdd4043117
Cleanups:
...
- Removed some QQ markers
- Removed some rows not compatible with valgrind 3.9.0
- Made mysql_install_db.sh more silent by default. --verbose now gives more information
- Added assert that auto-increment doesn't generate 0 (safety)
- Removed thd->set_time() in some places as it's set in init_for_queries()
- Fixed some --big tests in tokudb
- Fixed a bug in mysql_client_test.cc where sql_mode was not properly reset
2016-04-05 18:00:04 +03:00
Sergei Golubchik
f67a2211ec
Merge branch '10.1' into 10.2
2016-03-23 22:36:46 +01:00
Sergei Golubchik
3b0c7ac1f9
Merge branch '10.0' into 10.1
2016-03-21 13:02:53 +01:00
Otto Kekäläinen
1777fd5f55
Fix spelling: occurred, execute, which etc
2016-03-04 02:09:37 +02:00
Monty
b2f8d7b410
Merge branch '10.1' into 10.2
...
Conflicts:
VERSION
cmake/plugin.cmake
config.h.cmake
configure.cmake
plugin/server_audit/server_audit.c
sql/sql_yacc.yy
2016-02-06 18:14:54 +02:00
Oleksandr Byelkin
d4b3a199ac
MDEV-9117: Client Server capability negotiation for MariaDB specific functionality
...
New capability flags space.
Removed old progress flag, added new one.
2016-02-02 14:35:10 +01:00
Oleksandr Byelkin
36eccebd6f
Fix client unit test to drop all used tables.
2016-02-02 14:35:10 +01:00
Alexey Botchkov
d16d40be2c
MDEV-5273 Prepared statement doesn't return metadata after prepare.
...
SHOW CREATE PROCEDURE/FUNCTION fixed.
2016-01-28 11:12:03 +04:00
Alexey Botchkov
efb36ac5d5
MDEV-5273 Prepared statement doesn't return metadata after prepare.
...
SHOW MASTER STATUS fixed.
2016-01-28 11:12:03 +04:00
Alexey Botchkov
75a1d866dd
MDEV-5273 Prepared statement doesn't return metadata after prepare.
...
SHOW SLAVE STATUS fixed.
2016-01-28 11:12:03 +04:00
Alexey Botchkov
552d33095a
MDEV-5273 Prepared statement doesn't return metadata after prepare.
...
Fix for SHOW GRANTS statement.
2016-01-28 11:12:03 +04:00
Alexey Botchkov
f3926cd18e
MDEV-5273 Prepared statement doesn't return metadata after prepare.
...
Fix for SHOW CREATE DATABASE.
2016-01-28 11:12:03 +04:00
Alexey Botchkov
df26954951
MDEV-5273 Prepared statement doesn't return metadata after prepare.
...
The metadata creation part of the mysqld_shww_create separated
to be used on the mysqld_stmt_prepare stage.
2016-01-26 23:18:13 +04:00
Sergei Golubchik
a2bcee626d
Merge branch '10.0' into 10.1
2015-12-21 21:24:22 +01:00