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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
93f246d4
Commit
93f246d4
authored
Nov 28, 2006
by
monty@mysql.com/nosik.monty.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed portablity problem
Removed warnings from mysqltest scripts
parent
73238029
Changes
10
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
20 additions
and
20 deletions
+20
-20
cmd-line-utils/readline/undo.c
cmd-line-utils/readline/undo.c
+1
-1
mysql-test/include/mix2.inc
mysql-test/include/mix2.inc
+1
-1
mysql-test/include/query_cache.inc
mysql-test/include/query_cache.inc
+1
-1
mysql-test/r/ndb_binlog_ddl_multi.result
mysql-test/r/ndb_binlog_ddl_multi.result
+1
-1
mysql-test/t/greedy_optimizer.test
mysql-test/t/greedy_optimizer.test
+2
-2
mysql-test/t/join.test
mysql-test/t/join.test
+2
-2
mysql-test/t/ndb_binlog_ddl_multi.test
mysql-test/t/ndb_binlog_ddl_multi.test
+1
-1
mysql-test/t/ndb_blob_partition.test
mysql-test/t/ndb_blob_partition.test
+9
-9
mysql-test/t/ndb_index_ordered.test
mysql-test/t/ndb_index_ordered.test
+1
-1
storage/ndb/src/kernel/vm/Rope.cpp
storage/ndb/src/kernel/vm/Rope.cpp
+1
-1
No files found.
cmd-line-utils/readline/undo.c
View file @
93f246d4
...
@@ -175,7 +175,7 @@ _rl_fix_last_undo_of_type (type, start, end)
...
@@ -175,7 +175,7 @@ _rl_fix_last_undo_of_type (type, start, end)
for
(
rl
=
rl_undo_list
;
rl
;
rl
=
rl
->
next
)
for
(
rl
=
rl_undo_list
;
rl
;
rl
=
rl
->
next
)
{
{
if
(
rl
->
what
==
(
uint
)
type
)
if
(
rl
->
what
==
(
u
nsigned
int
)
type
)
{
{
rl
->
start
=
start
;
rl
->
start
=
start
;
rl
->
end
=
end
;
rl
->
end
=
end
;
...
...
mysql-test/include/mix2.inc
View file @
93f246d4
...
@@ -1588,7 +1588,7 @@ INSERT INTO t1 (id) VALUES (NULL);
...
@@ -1588,7 +1588,7 @@ INSERT INTO t1 (id) VALUES (NULL);
SELECT
*
FROM
t1
;
SELECT
*
FROM
t1
;
DROP
TABLE
t2
,
t1
;
DROP
TABLE
t2
,
t1
;
--
Test
that
foreign
keys
in
temporary
tables
are
not
accepted
(
bug
#12084)
#
Test that foreign keys in temporary tables are not accepted (bug #12084)
eval
CREATE
TABLE
t1
eval
CREATE
TABLE
t1
(
(
id
INT
PRIMARY
KEY
id
INT
PRIMARY
KEY
...
...
mysql-test/include/query_cache.inc
View file @
93f246d4
...
@@ -111,7 +111,7 @@ SET @@autocommit=1;
...
@@ -111,7 +111,7 @@ SET @@autocommit=1;
connection
default
;
connection
default
;
--
echo
connection
default
--
echo
connection
default
--
This
should
be
'YES'
.
#
This should be 'YES'.
SHOW
VARIABLES
LIKE
'have_query_cache'
;
SHOW
VARIABLES
LIKE
'have_query_cache'
;
SET
GLOBAL
query_cache_size
=
200000
;
SET
GLOBAL
query_cache_size
=
200000
;
...
...
mysql-test/r/ndb_binlog_ddl_multi.result
View file @
93f246d4
...
@@ -23,7 +23,7 @@ reset master;
...
@@ -23,7 +23,7 @@ reset master;
alter table t2 add column (b int);
alter table t2 add column (b int);
show binlog events from <binlog_start>;
show binlog events from <binlog_start>;
Log_name Pos Event_type Server_id End_log_pos Info
Log_name Pos Event_type Server_id End_log_pos Info
master-bin
1
.000001 # Query # # use `test`; alter table t2 add column (b int)
master-bin.000001 # Query # # use `test`; alter table t2 add column (b int)
reset master;
reset master;
reset master;
reset master;
ALTER DATABASE mysqltest CHARACTER SET latin1;
ALTER DATABASE mysqltest CHARACTER SET latin1;
...
...
mysql-test/t/greedy_optimizer.test
View file @
93f246d4
...
@@ -145,11 +145,11 @@ select @@optimizer_prune_level;
...
@@ -145,11 +145,11 @@ select @@optimizer_prune_level;
#
#
# These are the values for the parameters that control the greedy optimizer
# These are the values for the parameters that control the greedy optimizer
# (total 6 combinations - 3 for optimizer_search_depth, 2 for optimizer_prune_level):
# (total 6 combinations - 3 for optimizer_search_depth, 2 for optimizer_prune_level):
--
#
# set optimizer_search_depth=0; - automatic
# set optimizer_search_depth=0; - automatic
# set optimizer_search_depth=1; - min
# set optimizer_search_depth=1; - min
# set optimizer_search_depth=62; - max (default)
# set optimizer_search_depth=62; - max (default)
--
#
# set optimizer_prune_level=0 - exhaustive;
# set optimizer_prune_level=0 - exhaustive;
# set optimizer_prune_level=1 - heuristic; # default
# set optimizer_prune_level=1 - heuristic; # default
...
...
mysql-test/t/join.test
View file @
93f246d4
...
@@ -489,9 +489,9 @@ select * from v1a join (t3 natural join t4) on a = y;
...
@@ -489,9 +489,9 @@ select * from v1a join (t3 natural join t4) on a = y;
# Negative tests (tests for errors)
# Negative tests (tests for errors)
#--------------------------------------------------------------------
#--------------------------------------------------------------------
--
error
1052
--
error
1052
select
*
from
t1
natural
join
(
t3
cross
join
t4
);
--
works
in
Oracle
-
bug
select
*
from
t1
natural
join
(
t3
cross
join
t4
);
#
works in Oracle - bug
--
error
1052
--
error
1052
select
*
from
(
t3
cross
join
t4
)
natural
join
t1
;
--
works
in
Oracle
-
bug
select
*
from
(
t3
cross
join
t4
)
natural
join
t1
;
#
works in Oracle - bug
--
error
1052
--
error
1052
select
*
from
t1
join
(
t2
,
t3
)
using
(
b
);
select
*
from
t1
join
(
t2
,
t3
)
using
(
b
);
--
error
1052
--
error
1052
...
...
mysql-test/t/ndb_binlog_ddl_multi.test
View file @
93f246d4
...
@@ -45,7 +45,7 @@ reset master;
...
@@ -45,7 +45,7 @@ reset master;
--
connection
server2
--
connection
server2
alter
table
t2
add
column
(
b
int
);
alter
table
t2
add
column
(
b
int
);
--
connection
s
server1
--
connection
server1
--
source
include
/
show_binlog_events
.
inc
--
source
include
/
show_binlog_events
.
inc
# alter database
# alter database
...
...
mysql-test/t/ndb_blob_partition.test
View file @
93f246d4
...
@@ -36,15 +36,15 @@ set @s0 = 'rggurloniukyehuxdbfkkyzlceixzrehqhvxvxbpwizzvjzpucqmzrhzxzfau';
...
@@ -36,15 +36,15 @@ set @s0 = 'rggurloniukyehuxdbfkkyzlceixzrehqhvxvxbpwizzvjzpucqmzrhzxzfau';
set
@
s1
=
'ykyymbzqgqlcjhlhmyqelfoaaohvtbekvifukdtnvcrrjveevfakxarxexomz'
;
set
@
s1
=
'ykyymbzqgqlcjhlhmyqelfoaaohvtbekvifukdtnvcrrjveevfakxarxexomz'
;
set
@
s2
=
'dbnfqyzgtqxalcrwtfsqabknvtfcbpoonxsjiqvmhnfikxxhcgoexlkoezvah'
;
set
@
s2
=
'dbnfqyzgtqxalcrwtfsqabknvtfcbpoonxsjiqvmhnfikxxhcgoexlkoezvah'
;
set
@
v1
=
repeat
(
@
s0
,
100
);
--
1
d42dd9090cf78314a06665d4ea938c35cc760f4
set
@
v1
=
repeat
(
@
s0
,
100
);
#
1d42dd9090cf78314a06665d4ea938c35cc760f4
set
@
v2
=
repeat
(
@
s1
,
200
);
--
10
d3c783026b310218d10b7188da96a2401648c6
set
@
v2
=
repeat
(
@
s1
,
200
);
#
10d3c783026b310218d10b7188da96a2401648c6
set
@
v3
=
repeat
(
@
s2
,
300
);
--
a33549d9844092289a58ac348dd59f09fc28406a
set
@
v3
=
repeat
(
@
s2
,
300
);
#
a33549d9844092289a58ac348dd59f09fc28406a
set
@
v4
=
repeat
(
@
s0
,
400
);
--
daa61c6de36a0526f0d47dc29d6b9de7e6d2630c
set
@
v4
=
repeat
(
@
s0
,
400
);
#
daa61c6de36a0526f0d47dc29d6b9de7e6d2630c
set
@
v5
=
repeat
(
@
s1
,
500
);
--
70
fc9a7d08beebc522258bfb02000a30c77a8f1d
set
@
v5
=
repeat
(
@
s1
,
500
);
#
70fc9a7d08beebc522258bfb02000a30c77a8f1d
set
@
v6
=
repeat
(
@
s2
,
600
);
--
090565
c580809efed3d369481a4bbb168b20713e
set
@
v6
=
repeat
(
@
s2
,
600
);
#
090565c580809efed3d369481a4bbb168b20713e
set
@
v7
=
repeat
(
@
s0
,
700
);
--
1
e0070bec426871a46291de27b9bd6e4255ab4e5
set
@
v7
=
repeat
(
@
s0
,
700
);
#
1e0070bec426871a46291de27b9bd6e4255ab4e5
set
@
v8
=
repeat
(
@
s1
,
800
);
--
acbaba01bc2e682f015f40e79d9cbe475db3002e
set
@
v8
=
repeat
(
@
s1
,
800
);
#
acbaba01bc2e682f015f40e79d9cbe475db3002e
set
@
v9
=
repeat
(
@
s2
,
900
);
--
9
ee30d99162574f79c66ae95cdf132dcf9cbc259
set
@
v9
=
repeat
(
@
s2
,
900
);
#
9ee30d99162574f79c66ae95cdf132dcf9cbc259
--
enable_query_log
--
enable_query_log
# -- insert --
# -- insert --
...
...
mysql-test/t/ndb_index_ordered.test
View file @
93f246d4
...
@@ -50,7 +50,7 @@ update t1 set c = 13 where b <= 3;
...
@@ -50,7 +50,7 @@ update t1 set c = 13 where b <= 3;
select
*
from
t1
order
by
a
;
select
*
from
t1
order
by
a
;
update
t1
set
b
=
b
+
1
where
b
>
4
and
b
<
7
;
update
t1
set
b
=
b
+
1
where
b
>
4
and
b
<
7
;
select
*
from
t1
order
by
a
;
select
*
from
t1
order
by
a
;
--
Update
primary
key
#
Update primary key
update
t1
set
a
=
a
+
10
where
b
>
1
and
b
<
7
;
update
t1
set
a
=
a
+
10
where
b
>
1
and
b
<
7
;
select
*
from
t1
order
by
a
;
select
*
from
t1
order
by
a
;
...
...
storage/ndb/src/kernel/vm/Rope.cpp
View file @
93f246d4
...
@@ -115,7 +115,7 @@ Rope::compare(const char * str, size_t len) const {
...
@@ -115,7 +115,7 @@ Rope::compare(const char * str, size_t len) const {
int
res
=
memcmp
(
str
,
(
const
char
*
)
curr
.
p
->
data
,
left
);
int
res
=
memcmp
(
str
,
(
const
char
*
)
curr
.
p
->
data
,
left
);
if
(
res
){
if
(
res
){
if
(
DEBUG_ROPE
)
if
(
DEBUG_ROPE
)
ndbout_c
(
"Rope::compare(%s, %d) -> %d"
,
str
,
len
,
res
);
ndbout_c
(
"Rope::compare(%s, %d) -> %d"
,
str
,
(
int
)
len
,
res
);
return
res
;
return
res
;
}
}
}
}
...
...
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