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
30e8de65
Commit
30e8de65
authored
Dec 22, 2000
by
tim@cane.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge work.mysql.com:/home/bk/mysql
into cane.mysql.fi:/usr/home/tim/my/work
parents
74d4eb53
c7b405fb
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
38 deletions
+29
-38
BUILD/FINISH.sh
BUILD/FINISH.sh
+1
-1
BitKeeper/etc/gone
BitKeeper/etc/gone
+1
-0
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+24
-36
mysql-test/t/replace.test
mysql-test/t/replace.test
+1
-0
sql/sql_insert.cc
sql/sql_insert.cc
+2
-1
No files found.
BUILD/FINISH.sh
View file @
30e8de65
...
@@ -6,7 +6,7 @@ for arg in "$@"; do
...
@@ -6,7 +6,7 @@ for arg in "$@"; do
done
done
CFLAGS
=
"
$cflags
"
CXX
=
gcc
CXXFLAGS
=
"
$cxxflags
"
eval
"
$configure
"
eval
"CFLAGS='
$cflags
' CXX=gcc CXXFLAGS='
$cxxflags
'
$configure
"
if
[
"x
$do_make
"
=
"xno"
]
;
then
if
[
"x
$do_make
"
=
"xno"
]
;
then
exit
0
exit
0
...
...
BitKeeper/etc/gone
View file @
30e8de65
...
@@ -328,3 +328,4 @@ serg@serg.mysql.com|mysql-test/r/ft0000002.c.result|20001212120059|07173|cd66b90
...
@@ -328,3 +328,4 @@ serg@serg.mysql.com|mysql-test/r/ft0000002.c.result|20001212120059|07173|cd66b90
serg@serg.mysql.com|mysql-test/r/sel000031.result|20001211130803|03576|d49aeac63ad7db4d
serg@serg.mysql.com|mysql-test/r/sel000031.result|20001211130803|03576|d49aeac63ad7db4d
serg@serg.mysql.com|mysql-test/r/sel000032.result|20001211130803|08537|6cb30e23cbca9fb0
serg@serg.mysql.com|mysql-test/r/sel000032.result|20001211130803|08537|6cb30e23cbca9fb0
serg@serg.mysql.com|mysql-test/r/sel000033.result|20001211130803|13548|56d1d02d72b94602
serg@serg.mysql.com|mysql-test/r/sel000033.result|20001211130803|13548|56d1d02d72b94602
sasha@mysql.sashanet.com|mysql-test/README.gcov|20001214012355|41825|2de7575ca81155e5
mysql-test/mysql-test-run.sh
View file @
30e8de65
...
@@ -60,7 +60,7 @@ TIMEFILE="$MYSQL_TEST_DIR/var/tmp/mysqltest-time"
...
@@ -60,7 +60,7 @@ TIMEFILE="$MYSQL_TEST_DIR/var/tmp/mysqltest-time"
RES_SPACE
=
" "
RES_SPACE
=
" "
MYSQLD_SRC_DIRS
=
"strings mysys include extra regex isam merge myisam
\
MYSQLD_SRC_DIRS
=
"strings mysys include extra regex isam merge myisam
\
myisammrg heap sql"
myisammrg heap sql"
GCOV_MSG
=
/tmp/mysqld-gcov.out
#gcov output
GCOV_MSG
=
/tmp/mysqld-gcov.out
GCOV_ERR
=
/tmp/mysqld-gcov.err
GCOV_ERR
=
/tmp/mysqld-gcov.err
MASTER_RUNNING
=
0
MASTER_RUNNING
=
0
...
@@ -136,41 +136,29 @@ MYSQL_TEST="$MYSQL_TEST --no-defaults --socket=$MASTER_MYSOCK --database=$DB --u
...
@@ -136,41 +136,29 @@ MYSQL_TEST="$MYSQL_TEST --no-defaults --socket=$MASTER_MYSOCK --database=$DB --u
GDB_MASTER_INIT
=
/tmp/gdbinit.master
GDB_MASTER_INIT
=
/tmp/gdbinit.master
GDB_SLAVE_INIT
=
/tmp/gdbinit.slave
GDB_SLAVE_INIT
=
/tmp/gdbinit.slave
if
[
"
$1
"
=
"--force"
]
;
then
while
test
$#
-gt
0
;
do
FORCE
=
1
case
"
$1
"
in
shift
1
--force
)
FORCE
=
1
;;
fi
--record
)
RECORD
=
1
;;
--gcov
)
if
[
x
$BINARY_DIST
=
x1
]
;
then
if
[
"
$1
"
=
"--record"
]
;
then
echo
"Cannot do coverage test without the source - please use source dist"
RECORD
=
1
exit
1
shift
1
fi
fi
DO_GCOV
=
1
;;
--gdb
)
if
[
"
$1
"
=
"--gcov"
]
;
if
[
x
$BINARY_DIST
=
x1
]
;
then
then
echo
"Note: you will get more meaningful output on a source distribution compiled with debugging option when running tests with -gdb option"
if
[
x
$BINARY_DIST
=
x1
]
;
then
fi
echo
"Cannot do coverage test without the source - please us source dist"
DO_GDB
=
1
exit
1
;;
fi
--
)
shift
;
break
;;
DO_GCOV
=
1
--
*
)
echo
"Unrecognized option:
$1
"
;
exit
1
;;
shift
1
*
)
break
;;
fi
esac
shift
if
[
"
$1
"
=
"--gdb"
]
;
done
then
# if the user really wanted to run binary dist in a debugger, he can
# but we should warn him
if
[
x
$BINARY_DIST
=
x1
]
;
then
echo
"Note: you will get more meaningful output on a source distribution
\
compiled with debugging option when running tests with -gdb option"
fi
DO_GDB
=
1
shift
1
fi
#++
#++
# Function Definitions
# Function Definitions
...
...
mysql-test/t/replace.test
View file @
30e8de65
...
@@ -10,6 +10,7 @@ CREATE TABLE t1 (
...
@@ -10,6 +10,7 @@ CREATE TABLE t1 (
PRIMARY
KEY
(
gesuchnr
,
benutzer_id
)
PRIMARY
KEY
(
gesuchnr
,
benutzer_id
)
)
type
=
ISAM
;
)
type
=
ISAM
;
replace
into
t1
(
gesuchnr
,
benutzer_id
)
values
(
2
,
1
);
replace
into
t1
(
gesuchnr
,
benutzer_id
)
values
(
1
,
1
);
replace
into
t1
(
gesuchnr
,
benutzer_id
)
values
(
1
,
1
);
replace
into
t1
(
gesuchnr
,
benutzer_id
)
values
(
1
,
1
);
replace
into
t1
(
gesuchnr
,
benutzer_id
)
values
(
1
,
1
);
alter
table
t1
type
=
myisam
;
alter
table
t1
type
=
myisam
;
...
...
sql/sql_insert.cc
View file @
30e8de65
...
@@ -366,7 +366,8 @@ int write_record(TABLE *table,COPY_INFO *info)
...
@@ -366,7 +366,8 @@ int write_record(TABLE *table,COPY_INFO *info)
}
}
key_copy
((
byte
*
)
key
,
table
,
key_nr
,
0
);
key_copy
((
byte
*
)
key
,
table
,
key_nr
,
0
);
if
((
error
=
(
table
->
file
->
index_read_idx
(
table
->
record
[
1
],
key_nr
,
if
((
error
=
(
table
->
file
->
index_read_idx
(
table
->
record
[
1
],
key_nr
,
(
byte
*
)
key
,
0
,
(
byte
*
)
key
,
table
->
key_info
[
key_nr
].
key_length
,
HA_READ_KEY_EXACT
))))
HA_READ_KEY_EXACT
))))
goto
err
;
goto
err
;
}
}
...
...
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