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
7dc464ea
Commit
7dc464ea
authored
Mar 03, 2003
by
Sinisa@sinisa.nasamreza.org
Browse files
Options
Browse Files
Download
Plain Diff
Merge sinisa@work.mysql.com:/home/bk/mysql
into sinisa.nasamreza.org:/mnt/work/mysql
parents
471800ff
ddb13eef
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
9 additions
and
4 deletions
+9
-4
include/global.h
include/global.h
+1
-0
mysql-test/Makefile.am
mysql-test/Makefile.am
+3
-1
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+1
-1
mysql-test/t/rpl000015.slave-mi
mysql-test/t/rpl000015.slave-mi
+0
-0
mysql-test/t/rpl_rotate_logs.slave-mi
mysql-test/t/rpl_rotate_logs.slave-mi
+0
-0
scripts/make_binary_distribution.sh
scripts/make_binary_distribution.sh
+1
-1
sql/slave.cc
sql/slave.cc
+1
-0
sql/sql_show.cc
sql/sql_show.cc
+2
-1
No files found.
include/global.h
View file @
7dc464ea
...
@@ -223,6 +223,7 @@ double my_ulonglong2double(unsigned long long A);
...
@@ -223,6 +223,7 @@ double my_ulonglong2double(unsigned long long A);
#define CONFIG_SMP
#define CONFIG_SMP
#include <asm/atomic.h>
#include <asm/atomic.h>
#endif
#endif
#include <errno.h>
/* Recommended by debian */
/* Go around some bugs in different OS and compilers */
/* Go around some bugs in different OS and compilers */
#if defined(_HPUX_SOURCE) && defined(HAVE_SYS_STREAM_H)
#if defined(_HPUX_SOURCE) && defined(HAVE_SYS_STREAM_H)
...
...
mysql-test/Makefile.am
View file @
7dc464ea
...
@@ -27,7 +27,7 @@ CLEANFILES = $(test_SCRIPTS)
...
@@ -27,7 +27,7 @@ CLEANFILES = $(test_SCRIPTS)
dist-hook
:
dist-hook
:
mkdir
-p
$(distdir)
/t
$(distdir)
/r
$(distdir)
/include
\
mkdir
-p
$(distdir)
/t
$(distdir)
/r
$(distdir)
/include
\
$(distdir)
/std_data
$(distdir)
/std_data
$(INSTALL_DATA)
$(srcdir)
/t/
*
.test
$(srcdir)
/t/
*
.opt
$(srcdir)
/t/
*
.sh
$(distdir)
/t
$(INSTALL_DATA)
$(srcdir)
/t/
*
.test
$(srcdir)
/t/
*
.opt
$(srcdir)
/t/
*
.sh
$(
srcdir)
/t/
*
.slave-mi
$(
distdir)
/t
$(INSTALL_DATA)
$(srcdir)
/include/
*
.inc
$(distdir)
/include
$(INSTALL_DATA)
$(srcdir)
/include/
*
.inc
$(distdir)
/include
$(INSTALL_DATA)
$(srcdir)
/r/
*
.result
$(srcdir)
/r/
*
.require
$(distdir)
/r
$(INSTALL_DATA)
$(srcdir)
/r/
*
.result
$(srcdir)
/r/
*
.require
$(distdir)
/r
$(INSTALL_DATA)
$(srcdir)
/std_data/
*
.dat
$(srcdir)
/std_data/
*
.001
$(distdir)
/std_data
$(INSTALL_DATA)
$(srcdir)
/std_data/
*
.dat
$(srcdir)
/std_data/
*
.001
$(distdir)
/std_data
...
@@ -41,6 +41,8 @@ install-data-local:
...
@@ -41,6 +41,8 @@ install-data-local:
$(INSTALL_DATA)
$(srcdir)
/README
$(DESTDIR)$(testdir)
$(INSTALL_DATA)
$(srcdir)
/README
$(DESTDIR)$(testdir)
$(INSTALL_DATA)
$(srcdir)
/t/
*
.test
$(DESTDIR)$(testdir)
/t
$(INSTALL_DATA)
$(srcdir)
/t/
*
.test
$(DESTDIR)$(testdir)
/t
$(INSTALL_DATA)
$(srcdir)
/t/
*
.opt
$(DESTDIR)$(testdir)
/t
$(INSTALL_DATA)
$(srcdir)
/t/
*
.opt
$(DESTDIR)$(testdir)
/t
$(INSTALL_DATA)
$(srcdir)
/t/
*
.sh
$(DESTDIR)$(testdir)
/t
$(INSTALL_DATA)
$(srcdir)
/t/
*
.slave-mi
$(DESTDIR)$(testdir)
/t
$(INSTALL_DATA)
$(srcdir)
/r/
*
.result
$(DESTDIR)$(testdir)
/r
$(INSTALL_DATA)
$(srcdir)
/r/
*
.result
$(DESTDIR)$(testdir)
/r
$(INSTALL_DATA)
$(srcdir)
/r/
*
.require
$(DESTDIR)$(testdir)
/r
$(INSTALL_DATA)
$(srcdir)
/r/
*
.require
$(DESTDIR)$(testdir)
/r
$(INSTALL_DATA)
$(srcdir)
/include/
*
.inc
$(DESTDIR)$(testdir)
/include
$(INSTALL_DATA)
$(srcdir)
/include/
*
.inc
$(DESTDIR)$(testdir)
/include
...
...
mysql-test/mysql-test-run.sh
View file @
7dc464ea
...
@@ -706,7 +706,7 @@ run_testcase ()
...
@@ -706,7 +706,7 @@ run_testcase ()
slave_opt_file
=
$TESTDIR
/
$tname
-slave
.opt
slave_opt_file
=
$TESTDIR
/
$tname
-slave
.opt
master_init_script
=
$TESTDIR
/
$tname
-master
.sh
master_init_script
=
$TESTDIR
/
$tname
-master
.sh
slave_init_script
=
$TESTDIR
/
$tname
-slave
.sh
slave_init_script
=
$TESTDIR
/
$tname
-slave
.sh
slave_master_info_file
=
$TESTDIR
/
$tname
-slave-master-info
.opt
slave_master_info_file
=
$TESTDIR
/
$tname
.slave-mi
SKIP_SLAVE
=
`
$EXPR
\(
$tname
: rpl
\)
=
0
`
SKIP_SLAVE
=
`
$EXPR
\(
$tname
: rpl
\)
=
0
`
if
[
-n
"
$SKIP_TEST
"
]
;
then
if
[
-n
"
$SKIP_TEST
"
]
;
then
SKIP_THIS_TEST
=
`
$EXPR
\(
$tname
:
"
$SKIP_TEST
"
\)
!=
0
`
SKIP_THIS_TEST
=
`
$EXPR
\(
$tname
:
"
$SKIP_TEST
"
\)
!=
0
`
...
...
mysql-test/t/rpl000015
-slave-master-info.opt
→
mysql-test/t/rpl000015
.slave-mi
View file @
7dc464ea
File moved
mysql-test/t/rpl_rotate_logs
-slave-master-info.opt
→
mysql-test/t/rpl_rotate_logs
.slave-mi
View file @
7dc464ea
File moved
scripts/make_binary_distribution.sh
View file @
7dc464ea
...
@@ -113,7 +113,7 @@ $CP mysql-test/mysql-test-run mysql-test/install_test_db $BASE/mysql-test/
...
@@ -113,7 +113,7 @@ $CP mysql-test/mysql-test-run mysql-test/install_test_db $BASE/mysql-test/
$CP
mysql-test/README
$BASE
/mysql-test/README
$CP
mysql-test/README
$BASE
/mysql-test/README
$CP
mysql-test/include/
*
.inc
$BASE
/mysql-test/include
$CP
mysql-test/include/
*
.inc
$BASE
/mysql-test/include
$CP
mysql-test/std_data/
*
.dat mysql-test/std_data/
*
.001
$BASE
/mysql-test/std_data
$CP
mysql-test/std_data/
*
.dat mysql-test/std_data/
*
.001
$BASE
/mysql-test/std_data
$CP
mysql-test/t/
*
.test mysql-test/t/
*
.opt mysql-test/t/
*
.sh
$BASE
/mysql-test/t
$CP
mysql-test/t/
*
.test mysql-test/t/
*
.opt mysql-test/t/
*
.s
lave-mi mysql-test/t/
*
.s
h
$BASE
/mysql-test/t
$CP
mysql-test/r/
*
.result mysql-test/r/
*
.require
$BASE
/mysql-test/r
$CP
mysql-test/r/
*
.result mysql-test/r/
*
.require
$BASE
/mysql-test/r
$CP
scripts/
*
$BASE
/bin
$CP
scripts/
*
$BASE
/bin
...
...
sql/slave.cc
View file @
7dc464ea
...
@@ -1091,6 +1091,7 @@ static int exec_event(THD* thd, NET* net, MASTER_INFO* mi, int event_len)
...
@@ -1091,6 +1091,7 @@ static int exec_event(THD* thd, NET* net, MASTER_INFO* mi, int event_len)
tables
.
db
=
thd
->
db
;
tables
.
db
=
thd
->
db
;
tables
.
alias
=
tables
.
real_name
=
(
char
*
)
lev
->
table_name
;
tables
.
alias
=
tables
.
real_name
=
(
char
*
)
lev
->
table_name
;
tables
.
lock_type
=
TL_WRITE
;
tables
.
lock_type
=
TL_WRITE
;
tables
.
updating
=
1
;
// the table will be opened in mysql_load
// the table will be opened in mysql_load
if
(
table_rules_on
&&
!
tables_ok
(
thd
,
&
tables
))
if
(
table_rules_on
&&
!
tables_ok
(
thd
,
&
tables
))
{
{
...
...
sql/sql_show.cc
View file @
7dc464ea
...
@@ -293,6 +293,7 @@ int mysqld_extend_show_tables(THD *thd,const char *db,const char *wild)
...
@@ -293,6 +293,7 @@ int mysqld_extend_show_tables(THD *thd,const char *db,const char *wild)
field_list
.
push_back
(
item
=
new
Item_empty_string
(
"Create_options"
,
255
));
field_list
.
push_back
(
item
=
new
Item_empty_string
(
"Create_options"
,
255
));
item
->
maybe_null
=
1
;
item
->
maybe_null
=
1
;
field_list
.
push_back
(
item
=
new
Item_empty_string
(
"Comment"
,
80
));
field_list
.
push_back
(
item
=
new
Item_empty_string
(
"Comment"
,
80
));
item
->
maybe_null
=
1
;
if
(
send_fields
(
thd
,
field_list
,
1
))
if
(
send_fields
(
thd
,
field_list
,
1
))
DBUG_RETURN
(
1
);
DBUG_RETURN
(
1
);
...
@@ -311,7 +312,7 @@ int mysqld_extend_show_tables(THD *thd,const char *db,const char *wild)
...
@@ -311,7 +312,7 @@ int mysqld_extend_show_tables(THD *thd,const char *db,const char *wild)
casedn_str
(
file_name
);
casedn_str
(
file_name
);
if
(
!
(
table
=
open_ltable
(
thd
,
&
table_list
,
TL_READ
)))
if
(
!
(
table
=
open_ltable
(
thd
,
&
table_list
,
TL_READ
)))
{
{
for
(
uint
i
=
0
;
i
<
field_list
.
elements
;
i
++
)
for
(
uint
i
=
2
;
i
<
field_list
.
elements
;
i
++
)
net_store_null
(
packet
);
net_store_null
(
packet
);
net_store_data
(
packet
,
thd
->
net
.
last_error
);
net_store_data
(
packet
,
thd
->
net
.
last_error
);
thd
->
net
.
last_error
[
0
]
=
0
;
thd
->
net
.
last_error
[
0
]
=
0
;
...
...
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