mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
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
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user