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
b8490b55
Commit
b8490b55
authored
Feb 09, 2005
by
msvensson@neptunus.homeip.net
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into neptunus.homeip.net:/home/msvensson/mysql/mysql-5.0
parents
00cc3cbf
0ed97187
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+6
-2
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+6
-9
No files found.
mysql-test/mysql-test-run.sh
View file @
b8490b55
...
@@ -441,7 +441,7 @@ while test $# -gt 0; do
...
@@ -441,7 +441,7 @@ while test $# -gt 0; do
STRACE_CLIENT
=
1
STRACE_CLIENT
=
1
;;
;;
--debug
)
--debug
)
EXTRA_MASTER_MYSQLD_
OPT
=
"
$EXTRA_MASTER_MYSQLD_OPT
\
EXTRA_MASTER_MYSQLD_
TRACE
=
"
\
--debug=d:t:i:A,
$MYSQL_TEST_DIR
/var/log/master.trace"
--debug=d:t:i:A,
$MYSQL_TEST_DIR
/var/log/master.trace"
EXTRA_SLAVE_MYSQLD_OPT
=
"
$EXTRA_SLAVE_MYSQLD_OPT
\
EXTRA_SLAVE_MYSQLD_OPT
=
"
$EXTRA_SLAVE_MYSQLD_OPT
\
--debug=d:t:i:A,
$MYSQL_TEST_DIR
/var/log/slave.trace"
--debug=d:t:i:A,
$MYSQL_TEST_DIR
/var/log/slave.trace"
...
@@ -692,7 +692,6 @@ then
...
@@ -692,7 +692,6 @@ then
fi
fi
MYSQL_CLIENT_TEST
=
"
$MYSQL_CLIENT_TEST
--no-defaults --testcase --user=root --socket=
$MASTER_MYSOCK
--port=
$MYSQL_TCP_PORT
--silent"
MYSQL_CLIENT_TEST
=
"
$MYSQL_CLIENT_TEST
--no-defaults --testcase --user=root --socket=
$MASTER_MYSOCK
--port=
$MYSQL_TCP_PORT
--silent"
MYSQL_DUMP
=
"
$MYSQL_DUMP
--no-defaults -uroot --socket=
$MASTER_MYSOCK
--password=
$DBPASSWD
$EXTRA_MYSQLDUMP_OPT
"
MYSQL_BINLOG
=
"
$MYSQL_BINLOG
--no-defaults --local-load=
$MYSQL_TMP_DIR
--character-sets-dir=
$CHARSETSDIR
$EXTRA_MYSQLBINLOG_OPT
"
MYSQL_BINLOG
=
"
$MYSQL_BINLOG
--no-defaults --local-load=
$MYSQL_TMP_DIR
--character-sets-dir=
$CHARSETSDIR
$EXTRA_MYSQLBINLOG_OPT
"
MYSQL_FIX_SYSTEM_TABLES
=
"
$MYSQL_FIX_SYSTEM_TABLES
--no-defaults --host=localhost --port=
$MASTER_MYPORT
--socket=
$MASTER_MYSOCK
--user=root --password=
$DBPASSWD
--basedir=
$BASEDIR
--bindir=
$CLIENT_BINDIR
--verbose"
MYSQL_FIX_SYSTEM_TABLES
=
"
$MYSQL_FIX_SYSTEM_TABLES
--no-defaults --host=localhost --port=
$MASTER_MYPORT
--socket=
$MASTER_MYSOCK
--user=root --password=
$DBPASSWD
--basedir=
$BASEDIR
--bindir=
$CLIENT_BINDIR
--verbose"
MYSQL
=
"
$MYSQL
--host=localhost --port=
$MASTER_MYPORT
--socket=
$MASTER_MYSOCK
--user=root --password=
$DBPASSWD
"
MYSQL
=
"
$MYSQL
--host=localhost --port=
$MASTER_MYPORT
--socket=
$MASTER_MYSOCK
--user=root --password=
$DBPASSWD
"
...
@@ -1150,6 +1149,11 @@ start_master()
...
@@ -1150,6 +1149,11 @@ start_master()
this_master_myport
=
$MASTER_MYPORT
this_master_myport
=
$MASTER_MYPORT
NOT_FIRST_MASTER_EXTRA_OPTS
=
""
NOT_FIRST_MASTER_EXTRA_OPTS
=
""
fi
fi
if
[
-n
"
$EXTRA_MASTER_MYSQLD_TRACE
"
]
then
EXTRA_MASTER_MYSQLD_OPT
=
"
$EXTRA_MASTER_MYSQLD_OPT
\
$EXTRA_MASTER_MYSQLD_TRACE$1
"
fi
if
[
-z
"
$DO_BENCH
"
]
if
[
-z
"
$DO_BENCH
"
]
then
then
master_args
=
"--no-defaults --log-bin=
$MYSQL_TEST_DIR
/var/log/master-bin
$1
\
master_args
=
"--no-defaults --log-bin=
$MYSQL_TEST_DIR
/var/log/master-bin
$1
\
...
...
sql/ha_ndbcluster.cc
View file @
b8490b55
...
@@ -2363,11 +2363,10 @@ void ha_ndbcluster::print_results()
...
@@ -2363,11 +2363,10 @@ void ha_ndbcluster::print_results()
String
val
(
buf_val
,
sizeof
(
buf_val
),
&
my_charset_bin
);
String
val
(
buf_val
,
sizeof
(
buf_val
),
&
my_charset_bin
);
for
(
uint
f
=
0
;
f
<
table
->
s
->
fields
;
f
++
)
for
(
uint
f
=
0
;
f
<
table
->
s
->
fields
;
f
++
)
{
{
/
/ Use DBUG_PRINT since DBUG_FILE cannot be filtered out
/
* Use DBUG_PRINT since DBUG_FILE cannot be filtered out */
char
buf
[
2000
];
char
buf
[
2000
];
Field
*
field
;
Field
*
field
;
void
*
ptr
;
void
*
ptr
;
const
NDBCOL
*
col
=
NULL
;
NdbValue
value
;
NdbValue
value
;
NdbBlob
*
ndb_blob
;
NdbBlob
*
ndb_blob
;
...
@@ -2380,8 +2379,6 @@ void ha_ndbcluster::print_results()
...
@@ -2380,8 +2379,6 @@ void ha_ndbcluster::print_results()
}
}
ptr
=
field
->
ptr
;
ptr
=
field
->
ptr
;
DBUG_DUMP
(
"field->ptr"
,
(
char
*
)
ptr
,
field
->
pack_length
());
col
=
tab
->
getColumn
(
f
);
if
(
!
(
field
->
flags
&
BLOB_FLAG
))
if
(
!
(
field
->
flags
&
BLOB_FLAG
))
{
{
...
@@ -2409,7 +2406,7 @@ void ha_ndbcluster::print_results()
...
@@ -2409,7 +2406,7 @@ void ha_ndbcluster::print_results()
}
}
print_value:
print_value:
DBUG_PRINT
(
"value"
,
(
"%u,%s: %s"
,
f
,
col
->
getName
()
,
buf
));
DBUG_PRINT
(
"value"
,
(
"%u,%s: %s"
,
f
,
field
->
field_name
,
buf
));
}
}
#endif
#endif
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
...
...
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