summaryrefslogtreecommitdiff
path: root/client/mysqldump.c
diff options
context:
space:
mode:
authorunknown <greg@mysql.com>2003-03-21 16:45:39 -0500
committerunknown <greg@mysql.com>2003-03-21 16:45:39 -0500
commiteed27593a41c2c85e8f202b7c1d06c155ce08cf8 (patch)
tree6204247b50ae737bead82de5fdfbc3bdd63689b1 /client/mysqldump.c
parent6700627926c42015f3420152b7149a961722a191 (diff)
downloadmariadb-git-eed27593a41c2c85e8f202b7c1d06c155ce08cf8.tar.gz
Post-4.0.12 changes from Novell: mostly NetWare-related code changes to utilize new LibC
client/mysql.cc: Remove unnecessary pthread_yield calls for NetWare client/mysqldump.c: Remove unnecessary pthread_yield calls for NetWare include/my_pthread.h: Special extern my_pthread_cond_timedwait no longer required for NetWare mysql-test/t/backup.test: replace_result added so test passes correctly on NetWare mysys/default.c: Add conditional to avoid non-applicable file checking on NetWare mysys/my_init.c: Remove working directory change from netware_init() mysys/my_pthread.c: Remove unnecessary NetWare version of my_pthread_cond_timedwait mysys/thr_mutex.c: Remove unnecessary NetWare block scripts/make_binary_distribution.sh: Changes to clear up extraneous EXTRA_BIN_FILES, NetWare sections
Diffstat (limited to 'client/mysqldump.c')
-rw-r--r--client/mysqldump.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/client/mysqldump.c b/client/mysqldump.c
index f242b55159d..7b7c60c3c56 100644
--- a/client/mysqldump.c
+++ b/client/mysqldump.c
@@ -897,9 +897,6 @@ static void dumpTable(uint numFields, char *table)
MYSQL_FIELD *field;
MYSQL_ROW row;
ulong rownr, row_break, total_length, init_length;
-#if defined(__NETWARE__) && defined(THREAD)
- uint lines= 0;
-#endif
if (verbose)
fprintf(stderr, "-- Sending SELECT query...\n");
@@ -1126,11 +1123,6 @@ static void dumpTable(uint numFields, char *table)
}
else if (!opt_xml)
fputs(");\n", md_result_file);
-#if defined(__NETWARE__) && defined(THREAD)
- /* on a long result the screen could hog the cpu */
- if ((lines++ & 1023) == 0)
- pthread_yield();
-#endif
}
/* XML - close table tag and supress regular output */