Commit 34cfad64 authored by mskold/marty@linux.site's avatar mskold/marty@linux.site

Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.1-ndb

into  mysql.com:/windows/Linux_space/MySQL/mysql-5.1-new-ndb
parents d4a929d7 60dbbadd
......@@ -103,6 +103,11 @@ readln_socket(NDB_SOCKET_TYPE socket, int timeout_millis,
ptr += t;
len -= t;
}
if (i > 0 && buf[i-1] == '\r')
{
buf[i-1] = '\n';
ptr--;
}
ptr[0]= 0;
return ptr - buf;
}
......
......@@ -719,6 +719,7 @@ Cmvmi::execTEST_ORD(Signal * signal){
// Do nothing
break;
}
globalSignalLoggers.flushSignalLog();
}
#endif
......
......@@ -1988,7 +1988,7 @@ runDictOps(NDBT_Context* ctx, NDBT_Step* step)
// create indexes
const char** indlist = NDBT_Tables::getIndexes(tabName);
uint indnum = 0;
while (*indlist != 0) {
while (indlist != 0 && *indlist != 0) {
uint count = 0;
try_create_index:
count++;
......
......@@ -545,7 +545,7 @@ args: -n TemporaryTables T1 T6 T7 T8
max-time: 1500
cmd: testDict
args: -n Restart_NR2 T1
args: -n Restart_NR2 T1 I3
#
# TEST NDBAPI
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment