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
1d1cd094
Commit
1d1cd094
authored
Dec 21, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge trift2.:/MySQL/M50/clone-5.0
into trift2.:/MySQL/M50/push-5.0
parents
69a11590
eff34099
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
17 additions
and
7 deletions
+17
-7
client/mysql_upgrade.c
client/mysql_upgrade.c
+11
-1
mysql-test/t/myisam.test
mysql-test/t/myisam.test
+1
-1
mysql-test/t/query_cache_notembedded.test
mysql-test/t/query_cache_notembedded.test
+2
-2
mysql-test/t/rpl000015.test
mysql-test/t/rpl000015.test
+1
-1
mysql-test/t/rpl000017.test
mysql-test/t/rpl000017.test
+1
-1
mysql-test/t/rpl_rotate_logs.test
mysql-test/t/rpl_rotate_logs.test
+1
-1
No files found.
client/mysql_upgrade.c
View file @
1d1cd094
...
...
@@ -144,6 +144,7 @@ void set_extra_default(int id, const struct my_option *opt)
case
'f'
:
/* --force is ours */
case
'u'
:
/* --user passed on cmdline */
case
'T'
:
/* --debug-info is not accepted by mysqlcheck */
case
'p'
:
/* --password may change yet */
/* so, do nothing */
break
;
default:
...
...
@@ -175,7 +176,7 @@ void set_extra_default(int id, const struct my_option *opt)
d
->
id
=
id
;
d
->
name
=
opt
->
name
;
d
->
n_len
=
strlen
(
opt
->
name
);
if
(
opt
->
arg_type
!=
NO_ARG
)
if
(
opt
->
arg_type
!=
NO_ARG
&&
opt
->
value
)
switch
(
opt
->
var_type
&
GET_TYPE_MASK
)
{
case
GET_BOOL
:
if
(
*
((
int
*
)
opt
->
value
))
...
...
@@ -321,6 +322,15 @@ static int create_defaults_file(const char *path, const char *forced_path)
}
dynstr_set
(
&
buf
,
"
\n
[client]"
);
if
(
opt_password
)
{
if
(
dynstr_append
(
&
buf
,
"
\n
password="
)
||
dynstr_append
(
&
buf
,
opt_password
))
{
ret
=
1
;
goto
error
;
}
}
while
(
extra_defaults
)
{
int
len
;
...
...
mysql-test/t/myisam.test
View file @
1d1cd094
...
...
@@ -498,7 +498,7 @@ insert into t1 values (1),(2),(3),(4),(5),(6);
insert
into
t2
values
(
1
,
1
),(
2
,
1
);
lock
tables
t1
read
local
,
t2
read
local
;
select
straight_join
*
from
t1
,
t2
force
index
(
primary
)
where
t1
.
a
=
t2
.
a
;
connect
(
root
,
localhost
,
root
,,
test
,
$MASTER_MYPORT
,
master
.
sock
);
connect
(
root
,
localhost
,
root
,,
test
,
$MASTER_MYPORT
,
$MASTER_MYSOCK
);
insert
into
t2
values
(
2
,
0
);
disconnect
root
;
connection
default
;
...
...
mysql-test/t/query_cache_notembedded.test
View file @
1d1cd094
...
...
@@ -81,12 +81,12 @@ drop table t1, t2, t3, t11, t21;
#
# do not use QC if tables locked (BUG#12385)
#
connect
(
root
,
localhost
,
root
,,
test
,
$MASTER_MYPORT
,
master
.
sock
);
connect
(
root
,
localhost
,
root
,,
test
,
$MASTER_MYPORT
,
$MASTER_MYSOCK
);
connection
root
;
CREATE
TABLE
t1
(
a
INT
NOT
NULL
PRIMARY
KEY
AUTO_INCREMENT
)
ENGINE
=
MyISAM
;
LOCK
TABLE
t1
READ
LOCAL
;
connect
(
root2
,
localhost
,
root
,,
test
,
$MASTER_MYPORT
,
master
.
sock
);
connect
(
root2
,
localhost
,
root
,,
test
,
$MASTER_MYPORT
,
$MASTER_MYSOCK
);
connection
root2
;
INSERT
INTO
t1
VALUES
(),
(),
();
connection
root
;
...
...
mysql-test/t/rpl000015.test
View file @
1d1cd094
connect
(
master
,
localhost
,
root
,,
test
,
$MASTER_MYPORT
,
$MASTER_MYSOCK
);
connect
(
slave
,
localhost
,
root
,,
test
,
$SLAVE_MYPORT
,
slave
.
sock
);
connect
(
slave
,
localhost
,
root
,,
test
,
$SLAVE_MYPORT
,
$SLAVE_MYSOCK
);
connection
master
;
reset
master
;
show
master
status
;
...
...
mysql-test/t/rpl000017.test
View file @
1d1cd094
connect
(
master
,
localhost
,
root
,,
test
,
$MASTER_MYPORT
,
$MASTER_MYSOCK
);
connect
(
slave
,
localhost
,
root
,,
test
,
$SLAVE_MYPORT
,
slave
.
sock
);
connect
(
slave
,
localhost
,
root
,,
test
,
$SLAVE_MYPORT
,
$SLAVE_MYSOCK
);
connection
master
;
reset
master
;
grant
replication
slave
on
*.*
to
replicate
@
localhost
identified
by
'aaaaaaaaaaaaaaab'
;
...
...
mysql-test/t/rpl_rotate_logs.test
View file @
1d1cd094
...
...
@@ -16,7 +16,7 @@ connect (master,localhost,root,,test,$MASTER_MYPORT,$MASTER_MYSOCK);
--
disable_warnings
drop
table
if
exists
t1
,
t2
,
t3
,
t4
;
--
enable_warnings
connect
(
slave
,
localhost
,
root
,,
test
,
$SLAVE_MYPORT
,
slave
.
sock
);
connect
(
slave
,
localhost
,
root
,,
test
,
$SLAVE_MYPORT
,
$SLAVE_MYSOCK
);
system
cat
/
dev
/
null
>
$MYSQLTEST_VARDIR
/
slave
-
data
/
master
.
info
;
system
chmod
000
$MYSQLTEST_VARDIR
/
slave
-
data
/
master
.
info
;
connection
slave
;
...
...
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