mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
merge mysql-5.1->mysql-5.5
This commit is contained in:
@ -9,6 +9,7 @@
|
|||||||
*.core
|
*.core
|
||||||
*.d
|
*.d
|
||||||
*.da
|
*.da
|
||||||
|
*.dir
|
||||||
*.dll
|
*.dll
|
||||||
*.dylib
|
*.dylib
|
||||||
*.exe
|
*.exe
|
||||||
@ -31,6 +32,7 @@
|
|||||||
*.pdb
|
*.pdb
|
||||||
*.reject
|
*.reject
|
||||||
*.res
|
*.res
|
||||||
|
*.rule
|
||||||
*.sbr
|
*.sbr
|
||||||
*.so
|
*.so
|
||||||
*.so.*
|
*.so.*
|
||||||
@ -38,6 +40,8 @@
|
|||||||
*.user
|
*.user
|
||||||
*.vcproj
|
*.vcproj
|
||||||
*.vcproj.cmake
|
*.vcproj.cmake
|
||||||
|
*.vcxproj
|
||||||
|
*.vcxproj.filters
|
||||||
*/*.dir/*
|
*/*.dir/*
|
||||||
*/*_pure_*warnings
|
*/*_pure_*warnings
|
||||||
*/.deps
|
*/.deps
|
||||||
@ -46,7 +50,7 @@
|
|||||||
*/debug/*
|
*/debug/*
|
||||||
*/minsizerel/*
|
*/minsizerel/*
|
||||||
*/release/*
|
*/release/*
|
||||||
*/relwithdebinfo/*
|
RelWithDebInfo
|
||||||
*~
|
*~
|
||||||
.*.swp
|
.*.swp
|
||||||
./CMakeCache.txt
|
./CMakeCache.txt
|
||||||
|
@ -2155,6 +2155,8 @@ mysqld is alive
|
|||||||
SET @max_allowed_packet= @@global.max_allowed_packet;
|
SET @max_allowed_packet= @@global.max_allowed_packet;
|
||||||
SET @net_buffer_length= @@global.net_buffer_length;
|
SET @net_buffer_length= @@global.net_buffer_length;
|
||||||
SET GLOBAL max_allowed_packet= 1024;
|
SET GLOBAL max_allowed_packet= 1024;
|
||||||
|
Warnings:
|
||||||
|
Warning 1708 The value of 'max_allowed_packet' should be no less than the value of 'net_buffer_length'
|
||||||
SET GLOBAL net_buffer_length= 1024;
|
SET GLOBAL net_buffer_length= 1024;
|
||||||
ERROR 1153 (08S01) at line 1: Got a packet bigger than 'max_allowed_packet' bytes
|
ERROR 1153 (08S01) at line 1: Got a packet bigger than 'max_allowed_packet' bytes
|
||||||
SET GLOBAL max_allowed_packet= @max_allowed_packet;
|
SET GLOBAL max_allowed_packet= @max_allowed_packet;
|
||||||
|
@ -108,3 +108,27 @@ SET @@session.slave_skip_errors= 7;
|
|||||||
ERROR HY000: Variable 'slave_skip_errors' is a read only variable
|
ERROR HY000: Variable 'slave_skip_errors' is a read only variable
|
||||||
SET @@global.slave_skip_errors= 7;
|
SET @@global.slave_skip_errors= 7;
|
||||||
ERROR HY000: Variable 'slave_skip_errors' is a read only variable
|
ERROR HY000: Variable 'slave_skip_errors' is a read only variable
|
||||||
|
#
|
||||||
|
# Bug #11766769 : 59959: SMALL VALUES OF --MAX-ALLOWED-PACKET
|
||||||
|
# ARE NOT BEING HONORED
|
||||||
|
#
|
||||||
|
CREATE TABLE t1 (a MEDIUMTEXT);
|
||||||
|
SET GLOBAL max_allowed_packet=2048;
|
||||||
|
Warnings:
|
||||||
|
Warning 1708 The value of 'max_allowed_packet' should be no less than the value of 'net_buffer_length'
|
||||||
|
SET GLOBAL net_buffer_length=4096;
|
||||||
|
Warnings:
|
||||||
|
Warning 1708 The value of 'max_allowed_packet' should be no less than the value of 'net_buffer_length'
|
||||||
|
SHOW SESSION VARIABLES LIKE 'max_allowed_packet';
|
||||||
|
Variable_name Value
|
||||||
|
max_allowed_packet 2048
|
||||||
|
SHOW SESSION VARIABLES LIKE 'net_buffer_length';
|
||||||
|
Variable_name Value
|
||||||
|
net_buffer_length 4096
|
||||||
|
ERROR 08S01: Got a packet bigger than 'max_allowed_packet' bytes
|
||||||
|
SELECT LENGTH(a) FROM t1;
|
||||||
|
LENGTH(a)
|
||||||
|
SET GLOBAL max_allowed_packet=default;
|
||||||
|
SET GLOBAL net_buffer_length=default;
|
||||||
|
DROP TABLE t1;
|
||||||
|
End of 5.1 tests
|
||||||
|
@ -1566,30 +1566,6 @@ SET @@global.max_binlog_cache_size=DEFAULT;
|
|||||||
SET @@global.max_join_size=DEFAULT;
|
SET @@global.max_join_size=DEFAULT;
|
||||||
SET @@global.key_buffer_size=@kbs;
|
SET @@global.key_buffer_size=@kbs;
|
||||||
SET @@global.key_cache_block_size=@kcbs;
|
SET @@global.key_cache_block_size=@kcbs;
|
||||||
#
|
|
||||||
# Bug #11766769 : 59959: SMALL VALUES OF --MAX-ALLOWED-PACKET
|
|
||||||
# ARE NOT BEING HONORED
|
|
||||||
#
|
|
||||||
CREATE TABLE t1 (a MEDIUMTEXT);
|
|
||||||
SET GLOBAL max_allowed_packet=2048;
|
|
||||||
Warnings:
|
|
||||||
Warning 1708 The value of 'max_allowed_packet' should be no less than the value of 'net_buffer_length'
|
|
||||||
SET GLOBAL net_buffer_length=4096;
|
|
||||||
Warnings:
|
|
||||||
Warning 1708 The value of 'max_allowed_packet' should be no less than the value of 'net_buffer_length'
|
|
||||||
SHOW SESSION VARIABLES LIKE 'max_allowed_packet';
|
|
||||||
Variable_name Value
|
|
||||||
max_allowed_packet 2048
|
|
||||||
SHOW SESSION VARIABLES LIKE 'net_buffer_length';
|
|
||||||
Variable_name Value
|
|
||||||
net_buffer_length 4096
|
|
||||||
ERROR 08S01: Got a packet bigger than 'max_allowed_packet' bytes
|
|
||||||
at this point the connection is disconnected by the server
|
|
||||||
SELECT LENGTH(a) FROM t1;
|
|
||||||
LENGTH(a)
|
|
||||||
SET GLOBAL max_allowed_packet=default;
|
|
||||||
SET GLOBAL net_buffer_length=default;
|
|
||||||
DROP TABLE t1;
|
|
||||||
End of 5.1 tests
|
End of 5.1 tests
|
||||||
|
|
||||||
#
|
#
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
18
win/build-vs10.bat
Normal file
18
win/build-vs10.bat
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
@echo off
|
||||||
|
|
||||||
|
REM Copyright (c) 2006,2010 Oracle and/or its affiliates. All rights reserved.
|
||||||
|
REM
|
||||||
|
REM This program is free software; you can redistribute it and/or modify
|
||||||
|
REM it under the terms of the GNU General Public License as published by
|
||||||
|
REM the Free Software Foundation; version 2 of the License.
|
||||||
|
REM
|
||||||
|
REM This program is distributed in the hope that it will be useful,
|
||||||
|
REM but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
REM GNU General Public License for more details.
|
||||||
|
REM
|
||||||
|
REM You should have received a copy of the GNU General Public License
|
||||||
|
REM along with this program; if not, write to the Free Software
|
||||||
|
REM Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
cmake -G "Visual Studio 10"
|
||||||
|
|
18
win/build-vs10_x64.bat
Normal file
18
win/build-vs10_x64.bat
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
@echo off
|
||||||
|
|
||||||
|
REM Copyright (c) 2006,2010 Oracle and/or its affiliates. All rights reserved.
|
||||||
|
REM
|
||||||
|
REM This program is free software; you can redistribute it and/or modify
|
||||||
|
REM it under the terms of the GNU General Public License as published by
|
||||||
|
REM the Free Software Foundation; version 2 of the License.
|
||||||
|
REM
|
||||||
|
REM This program is distributed in the hope that it will be useful,
|
||||||
|
REM but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
REM MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
REM GNU General Public License for more details.
|
||||||
|
REM
|
||||||
|
REM You should have received a copy of the GNU General Public License
|
||||||
|
REM along with this program; if not, write to the Free Software
|
||||||
|
REM Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
|
cmake -G "Visual Studio 10 Win64"
|
||||||
|
|
Reference in New Issue
Block a user