Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
c11b35d9
Commit
c11b35d9
authored
Dec 14, 2005
by
kent@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/Users/kent/mysql/bk/mysql-5.0-release
into mysql.com:/Users/kent/mysql/bk/mysql-5.0
parents
45b81ac1
fa5f8027
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
20 additions
and
20 deletions
+20
-20
include/config-win.h
include/config-win.h
+5
-0
include/my_pthread.h
include/my_pthread.h
+2
-2
mysql-test/r/rpl_relayrotate.result
mysql-test/r/rpl_relayrotate.result
+0
-3
mysql-test/t/mysqltest.test
mysql-test/t/mysqltest.test
+2
-2
mysql-test/t/rpl_deadlock.test
mysql-test/t/rpl_deadlock.test
+3
-3
mysql-test/t/rpl_relayrotate.test
mysql-test/t/rpl_relayrotate.test
+2
-3
mysql-test/t/trigger-compat.test
mysql-test/t/trigger-compat.test
+1
-1
mysql-test/t/trigger-grant.test
mysql-test/t/trigger-grant.test
+1
-1
scripts/make_win_src_distribution.sh
scripts/make_win_src_distribution.sh
+2
-2
sql/sp_head.cc
sql/sp_head.cc
+1
-1
sql/table.cc
sql/table.cc
+1
-2
No files found.
include/config-win.h
View file @
c11b35d9
...
@@ -325,6 +325,11 @@ inline double ulonglong2double(ulonglong value)
...
@@ -325,6 +325,11 @@ inline double ulonglong2double(ulonglong value)
#define HAVE_SETFILEPOINTER
#define HAVE_SETFILEPOINTER
#define HAVE_VIO_READ_BUFF
#define HAVE_VIO_READ_BUFF
#ifndef __NT__
#undef FILE_SHARE_DELETE
#define FILE_SHARE_DELETE 0
/* Not implemented on Win 98/ME */
#endif
#ifdef NOT_USED
#ifdef NOT_USED
#define HAVE_SNPRINTF
/* Gave link error */
#define HAVE_SNPRINTF
/* Gave link error */
#define _snprintf snprintf
#define _snprintf snprintf
...
...
include/my_pthread.h
View file @
c11b35d9
...
@@ -643,10 +643,10 @@ extern int pthread_dummy(int);
...
@@ -643,10 +643,10 @@ extern int pthread_dummy(int);
#define THREAD_NAME_SIZE 10
#define THREAD_NAME_SIZE 10
#ifndef DEFAULT_THREAD_STACK
#ifndef DEFAULT_THREAD_STACK
#if
defined(__ia64__)
#if
SIZEOF_CHARP > 4
/*
/*
MySQL can survive with 32K, but some glibc libraries require > 128K stack
MySQL can survive with 32K, but some glibc libraries require > 128K stack
To resolve hostnames
To resolve hostnames
. Also recursive stored procedures needs stack.
*/
*/
#define DEFAULT_THREAD_STACK (256*1024L)
#define DEFAULT_THREAD_STACK (256*1024L)
#else
#else
...
...
mysql-test/r/rpl_relayrotate.result
View file @
c11b35d9
...
@@ -10,9 +10,6 @@ reset slave;
...
@@ -10,9 +10,6 @@ reset slave;
start slave;
start slave;
stop slave;
stop slave;
start slave;
start slave;
select master_pos_wait('master-bin.001',3000)>=0;
master_pos_wait('master-bin.001',3000)>=0
1
select max(a) from t1;
select max(a) from t1;
max(a)
max(a)
8000
8000
...
...
mysql-test/t/mysqltest.test
View file @
c11b35d9
...
@@ -968,9 +968,9 @@ drop table t1;
...
@@ -968,9 +968,9 @@ drop table t1;
--
error
1
--
error
1
--
exec
$MYSQL_TEST
--
record
-
x
$MYSQL_TEST_DIR
/
var
/
tmp
/
bug11731
.
sql
-
R
$MYSQL_TEST_DIR
/
var
/
tmp
/
bug11731
.
out
--
exec
$MYSQL_TEST
--
record
-
x
$MYSQL_TEST_DIR
/
var
/
tmp
/
bug11731
.
sql
-
R
$MYSQL_TEST_DIR
/
var
/
tmp
/
bug11731
.
out
# The .out file should be empty
, cat will fail!
# The .out file should be empty
--
error
1
--
error
1
--
exec
cat
$MYSQL_TEST_DIR
/
var
/
tmp
/
bug11731
.
out
--
exec
test
-
s
$MYSQL_TEST_DIR
/
var
/
tmp
/
bug11731
.
out
drop
table
t1
;
drop
table
t1
;
...
...
mysql-test/t/rpl_deadlock.test
View file @
c11b35d9
...
@@ -58,7 +58,7 @@ while ($1)
...
@@ -58,7 +58,7 @@ while ($1)
enable_query_log
;
enable_query_log
;
select
*
from
t1
for
update
;
select
*
from
t1
for
update
;
start
slave
;
start
slave
;
--
sleep
3
# hope that slave is blocked now
--
real_
sleep
3
# hope that slave is blocked now
insert
into
t2
values
(
22
);
# provoke deadlock, slave should be victim
insert
into
t2
values
(
22
);
# provoke deadlock, slave should be victim
commit
;
commit
;
sync_with_master
;
sync_with_master
;
...
@@ -76,7 +76,7 @@ change master to master_log_pos=532; # the BEGIN log event
...
@@ -76,7 +76,7 @@ change master to master_log_pos=532; # the BEGIN log event
begin
;
begin
;
select
*
from
t2
for
update
;
# hold lock
select
*
from
t2
for
update
;
# hold lock
start
slave
;
start
slave
;
--
sleep
10
# slave should have blocked, and be retrying
--
real_
sleep
10
# slave should have blocked, and be retrying
commit
;
commit
;
sync_with_master
;
sync_with_master
;
select
*
from
t1
;
# check that slave succeeded finally
select
*
from
t1
;
# check that slave succeeded finally
...
@@ -97,7 +97,7 @@ change master to master_log_pos=532;
...
@@ -97,7 +97,7 @@ change master to master_log_pos=532;
begin
;
begin
;
select
*
from
t2
for
update
;
select
*
from
t2
for
update
;
start
slave
;
start
slave
;
--
sleep
10
--
real_
sleep
10
commit
;
commit
;
sync_with_master
;
sync_with_master
;
select
*
from
t1
;
select
*
from
t1
;
...
...
mysql-test/t/rpl_relayrotate.test
View file @
c11b35d9
...
@@ -52,9 +52,8 @@ start slave;
...
@@ -52,9 +52,8 @@ start slave;
# which proves that the transaction restarted at
# which proves that the transaction restarted at
# the right place.
# the right place.
# We must wait for the transaction to commit before
# We must wait for the transaction to commit before
# reading, MASTER_POS_WAIT() will do it for sure
# reading:
# (the only statement with position>=3000 is COMMIT).
sync_with_master
;
select
master_pos_wait
(
'master-bin.001'
,
3000
)
>=
0
;
select
max
(
a
)
from
t1
;
select
max
(
a
)
from
t1
;
connection
master
;
connection
master
;
...
...
mysql-test/t/trigger-compat.test
View file @
c11b35d9
...
@@ -61,7 +61,7 @@ CREATE TRIGGER wl2818_trg1 BEFORE INSERT ON t1
...
@@ -61,7 +61,7 @@ CREATE TRIGGER wl2818_trg1 BEFORE INSERT ON t1
--
echo
--
echo
--
echo
--->
patching
t1
.
TRG
...
--
echo
--->
patching
t1
.
TRG
...
--
exec
grep
-
-
text
-
v
'definers='
$MYSQL_TEST_DIR
/
var
/
master
-
data
/
mysqltest_db1
/
t1
.
TRG
>
$MYSQL_TEST_DIR
/
var
/
tmp
/
t1
.
TRG
--
exec
grep
-
v
'definers='
$MYSQL_TEST_DIR
/
var
/
master
-
data
/
mysqltest_db1
/
t1
.
TRG
>
$MYSQL_TEST_DIR
/
var
/
tmp
/
t1
.
TRG
--
exec
mv
$MYSQL_TEST_DIR
/
var
/
tmp
/
t1
.
TRG
$MYSQL_TEST_DIR
/
var
/
master
-
data
/
mysqltest_db1
/
t1
.
TRG
--
exec
mv
$MYSQL_TEST_DIR
/
var
/
tmp
/
t1
.
TRG
$MYSQL_TEST_DIR
/
var
/
master
-
data
/
mysqltest_db1
/
t1
.
TRG
#
#
...
...
mysql-test/t/trigger-grant.test
View file @
c11b35d9
...
@@ -449,7 +449,7 @@ CREATE TRIGGER trg5 BEFORE DELETE ON t1
...
@@ -449,7 +449,7 @@ CREATE TRIGGER trg5 BEFORE DELETE ON t1
FOR
EACH
ROW
FOR
EACH
ROW
SET
@
a
=
5
;
SET
@
a
=
5
;
--
exec
egrep
-
-
text
-
v
'^definers='
$MYSQL_TEST_DIR
/
var
/
master
-
data
/
mysqltest_db1
/
t1
.
TRG
>
$MYSQL_TEST_DIR
/
var
/
tmp
/
t1
.
TRG
--
exec
egrep
-
v
'^definers='
$MYSQL_TEST_DIR
/
var
/
master
-
data
/
mysqltest_db1
/
t1
.
TRG
>
$MYSQL_TEST_DIR
/
var
/
tmp
/
t1
.
TRG
--
exec
echo
"definers='' '@' '@abc@def@@' '@hostname' '@abcdef@@@hostname'"
>>
$MYSQL_TEST_DIR
/
var
/
tmp
/
t1
.
TRG
--
exec
echo
"definers='' '@' '@abc@def@@' '@hostname' '@abcdef@@@hostname'"
>>
$MYSQL_TEST_DIR
/
var
/
tmp
/
t1
.
TRG
--
exec
mv
$MYSQL_TEST_DIR
/
var
/
tmp
/
t1
.
TRG
$MYSQL_TEST_DIR
/
var
/
master
-
data
/
mysqltest_db1
/
t1
.
TRG
--
exec
mv
$MYSQL_TEST_DIR
/
var
/
tmp
/
t1
.
TRG
$MYSQL_TEST_DIR
/
var
/
master
-
data
/
mysqltest_db1
/
t1
.
TRG
...
...
scripts/make_win_src_distribution.sh
View file @
c11b35d9
...
@@ -199,7 +199,7 @@ copy_dir_files()
...
@@ -199,7 +199,7 @@ copy_dir_files()
print_debug
"Creating directory '
$arg
'"
print_debug
"Creating directory '
$arg
'"
mkdir
$BASE
/
$arg
mkdir
$BASE
/
$arg
fi
fi
for
i
in
*
.c
*
.cpp
*
.h
*
.ih
*
.i
*
.ic
*
.asm
*
.def
*
.hpp
*
.dsp
*
.dsw
\
for
i
in
*
.c
*
.cpp
*
.h
*
.ih
*
.i
*
.ic
*
.asm
*
.def
*
.hpp
\
README INSTALL
*
LICENSE AUTHORS NEWS ChangeLog
\
README INSTALL
*
LICENSE AUTHORS NEWS ChangeLog
\
*
.inc
*
.test
*
.result
*
.pem Moscow_leap des_key_file
\
*
.inc
*
.test
*
.result
*
.pem Moscow_leap des_key_file
\
*
.vcproj
*
.sln
*
.dat
*
.000001
*
.require
*
.opt
*
.vcproj
*
.sln
*
.dat
*
.000001
*
.require
*
.opt
...
@@ -342,7 +342,7 @@ mv $BASE/sql/sql_yacc.cpp-new $BASE/sql/sql_yacc.cpp
...
@@ -342,7 +342,7 @@ mv $BASE/sql/sql_yacc.cpp-new $BASE/sql/sql_yacc.cpp
#
#
# Search the tree for plain text files and adapt the line end marker
# Search the tree for plain text files and adapt the line end marker
#
#
find
$BASE
\(
-name
"*.
dsp"
-o
-name
"*.dsw"
-o
-name
"*.
cnf"
-o
-name
"*.ini"
\
find
$BASE
\(
-name
"*.cnf"
-o
-name
"*.ini"
\
-o
-name
COPYING
-o
-name
ChangeLog
-o
-name
EXCEPTIONS-CLIENT
\
-o
-name
COPYING
-o
-name
ChangeLog
-o
-name
EXCEPTIONS-CLIENT
\
-o
-name
"INSTALL*"
-o
-name
LICENSE
-o
-name
"README*"
\
-o
-name
"INSTALL*"
-o
-name
LICENSE
-o
-name
"README*"
\
-o
-name
"*.vcproj"
-o
-name
"*.sln"
\)
-type
f
-print
\
-o
-name
"*.vcproj"
-o
-name
"*.sln"
\)
-type
f
-print
\
...
...
sql/sp_head.cc
View file @
c11b35d9
...
@@ -880,7 +880,7 @@ void sp_head::recursion_level_error()
...
@@ -880,7 +880,7 @@ void sp_head::recursion_level_error()
THD
*
thd
=
current_thd
;
THD
*
thd
=
current_thd
;
my_error
(
ER_SP_RECURSION_LIMIT
,
MYF
(
0
),
my_error
(
ER_SP_RECURSION_LIMIT
,
MYF
(
0
),
thd
->
variables
.
max_sp_recursion_depth
,
thd
->
variables
.
max_sp_recursion_depth
,
m_name
);
m_name
.
str
);
}
}
else
else
my_error
(
ER_SP_NO_RECURSION
,
MYF
(
0
));
my_error
(
ER_SP_NO_RECURSION
,
MYF
(
0
));
...
...
sql/table.cc
View file @
c11b35d9
...
@@ -1403,13 +1403,12 @@ File create_frm(THD *thd, my_string name, const char *db,
...
@@ -1403,13 +1403,12 @@ File create_frm(THD *thd, my_string name, const char *db,
if
(
create_info
->
options
&
HA_LEX_CREATE_TMP_TABLE
)
if
(
create_info
->
options
&
HA_LEX_CREATE_TMP_TABLE
)
create_flags
|=
O_EXCL
|
O_NOFOLLOW
;
create_flags
|=
O_EXCL
|
O_NOFOLLOW
;
#if SIZEOF_OFF_T > 4
/* Fix this when we have new .frm files; Current limit is 4G rows (QQ) */
/* Fix this when we have new .frm files; Current limit is 4G rows (QQ) */
if
(
create_info
->
max_rows
>
UINT_MAX32
)
if
(
create_info
->
max_rows
>
UINT_MAX32
)
create_info
->
max_rows
=
UINT_MAX32
;
create_info
->
max_rows
=
UINT_MAX32
;
if
(
create_info
->
min_rows
>
UINT_MAX32
)
if
(
create_info
->
min_rows
>
UINT_MAX32
)
create_info
->
min_rows
=
UINT_MAX32
;
create_info
->
min_rows
=
UINT_MAX32
;
#endif
/*
/*
Ensure that raid_chunks can't be larger than 255, as this would cause
Ensure that raid_chunks can't be larger than 255, as this would cause
problems with drop database
problems with drop database
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment