mariadb/mysys
unknown 21474cd11e Bug #29469: Client dies if a query is issued after hitting Ctrl + C
The Ctrl-C handler in mysql closes the console while ReadConsole()
waits for console input.
But the main thread was detecting that ReadConsole() haven't read 
anything and was processing as if there're data in the buffer.
Fixed to handle correctly this error condition.
No test case added as the test relies on Ctrl-C sent to the client
from its console.


client/mysql.cc:
  Bug #29469: handle correctly console read error
mysys/my_conio.c:
  Bug #29469: 
   1. handle correctly console read error
   2. add boundry checks for console buffer.
2007-07-10 10:43:12 +03:00
..
.cvsignore
array.c Bug#23736 Pointer free error in mysqlbinlog 2007-03-20 10:34:25 -04:00
base64.c Fixed compiler warnings (for linux and win32 and win64) 2007-02-22 16:59:57 +02:00
ChangeLog
charset-def.c Bug#28916 LDML doesn't work for utf8 2007-06-07 17:55:55 +05:00
charset.c Bug#28916 LDML doesn't work for utf8 2007-06-07 17:55:55 +05:00
checksum.c Many files: 2006-12-23 20:17:15 +01:00
CMakeLists.txt Makefile.am: 2007-03-22 16:53:37 +01:00
default.c Bug #27390: mysqld_multi --config-file= not working as documented 2007-04-28 01:27:54 +02:00
default_modify.c Many files: 2006-12-23 20:17:15 +01:00
errors.c Many files: 2006-12-23 20:17:15 +01:00
hash.c Merge mysql.com:/home/svoj/devel/mysql/BUG27564/mysql-4.1-engines 2007-07-05 11:45:58 +05:00
list.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
make-ccc
make-conf.c Many files: 2006-12-23 20:17:15 +01:00
Makefile.am Makefile.am, CMakeLists.txt: 2007-03-12 14:52:37 +01:00
md5.c Many files: 2006-12-23 20:17:15 +01:00
mf_brkhant.c Many files: 2006-12-23 20:17:15 +01:00
mf_cache.c Many files: 2006-12-23 20:17:15 +01:00
mf_dirname.c Many files: 2006-12-23 20:17:15 +01:00
mf_fn_ext.c Many files: 2006-12-23 20:17:15 +01:00
mf_format.c Many files: 2006-12-23 20:17:15 +01:00
mf_getdate.c Many files: 2006-12-23 20:17:15 +01:00
mf_iocache.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
mf_iocache2.c Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-22 14:04:40 +02:00
mf_keycache.c Bug#28478 - Improper key_cache_block_size corrupts MyISAM tables 2007-05-31 20:04:54 +02:00
mf_keycaches.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
mf_loadpath.c Many files: 2006-12-23 20:17:15 +01:00
mf_pack.c Many files: 2006-12-23 20:17:15 +01:00
mf_path.c Many files: 2006-12-23 20:17:15 +01:00
mf_qsort.c Many files: 2006-12-23 20:17:15 +01:00
mf_qsort2.c Many files: 2006-12-23 20:17:15 +01:00
mf_radix.c Many files: 2006-12-23 20:17:15 +01:00
mf_same.c Many files: 2006-12-23 20:17:15 +01:00
mf_sort.c Many files: 2006-12-23 20:17:15 +01:00
mf_soundex.c Many files: 2006-12-23 20:17:15 +01:00
mf_strip.c Many files: 2006-12-23 20:17:15 +01:00
mf_tempdir.c Bug#23736 Pointer free error in mysqlbinlog 2007-03-20 10:34:25 -04:00
mf_tempfile.c Bug#26233 very suspect code in mf_tempfile.c, in function create_temp_file() 2007-03-23 11:01:47 +01:00
mf_unixpath.c Many files: 2006-12-23 20:17:15 +01:00
mf_util.c Many files: 2006-12-23 20:17:15 +01:00
mf_wcomp.c Many files: 2006-12-23 20:17:15 +01:00
mf_wfile.c Many files: 2006-12-23 20:17:15 +01:00
mulalloc.c Many files: 2006-12-23 20:17:15 +01:00
my_access.c Many files: 2006-12-23 20:17:15 +01:00
my_aes.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
my_alarm.c Many files: 2006-12-23 20:17:15 +01:00
my_alloc.c Bug #27322 failure to allocate transaction_prealloc_size causes crash 2007-04-12 18:03:26 -04:00
my_append.c Many files: 2006-12-23 20:17:15 +01:00
my_bit.c Many files: 2006-12-23 20:17:15 +01:00
my_bitmap.c Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-22 14:04:40 +02:00
my_chsize.c Many files: 2006-12-23 20:17:15 +01:00
my_clock.c Many files: 2006-12-23 20:17:15 +01:00
my_compress.c Many files: 2006-12-23 20:17:15 +01:00
my_conio.c Bug #29469: Client dies if a query is issued after hitting Ctrl + C 2007-07-10 10:43:12 +03:00
my_copy.c Bug #25761 Table is partially created when disk is full, causing database corruption 2007-04-19 13:41:12 -04:00
my_crc32.c Many files: 2006-12-23 20:17:15 +01:00
my_create.c Many files: 2006-12-23 20:17:15 +01:00
my_delete.c Many files: 2006-12-23 20:17:15 +01:00
my_div.c Many files: 2006-12-23 20:17:15 +01:00
my_dup.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
my_error.c Fixed bug #20710. 2007-04-29 00:50:33 +05:00
my_file.c Many files: 2006-12-23 20:17:15 +01:00
my_fopen.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
my_fstream.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
my_gethostbyname.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
my_gethwaddr.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
my_getopt.c Fixed compiler warnings (for linux and win32 and win64) 2007-02-22 16:59:57 +02:00
my_getpagesize.c Many files: 2006-12-23 20:17:15 +01:00
my_getsystime.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
my_getwd.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
my_handler.c Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1-main 2007-03-28 20:46:42 +03:00
my_init.c Bug#27597 mysqld-debug broken 2007-05-14 16:04:36 +02:00
my_largepage.c Many files: 2006-12-23 20:17:15 +01:00
my_lib.c Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1-main 2007-03-28 20:46:42 +03:00
my_libwrap.c Many files: 2006-12-23 20:17:15 +01:00
my_lock.c Many files: 2006-12-23 20:17:15 +01:00
my_lockmem.c Many files: 2006-12-23 20:17:15 +01:00
my_lread.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
my_lwrite.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
my_malloc.c Fix for bug #26844 "Memory allocation failures ignored by slave IO thread". 2007-03-26 13:31:23 +04:00
my_memmem.c my_memmem.c: 2007-04-11 01:47:42 +02:00
my_messnc.c Many files: 2006-12-23 20:17:15 +01:00
my_mkdir.c Many files: 2006-12-23 20:17:15 +01:00
my_mmap.c Many files: 2006-12-23 20:17:15 +01:00
my_net.c Many files: 2006-12-23 20:17:15 +01:00
my_netware.c Many files: 2006-12-23 20:17:15 +01:00
my_new.cc Many files: 2006-12-23 20:17:15 +01:00
my_once.c Many files: 2006-12-23 20:17:15 +01:00
my_open.c Bug#25222 Win32 HANDLE leak in my_sopen() 2007-03-07 10:46:38 -05:00
my_os2cond.c Many files: 2006-12-23 20:17:15 +01:00
my_os2dirsrch.c Many files: 2006-12-23 20:17:15 +01:00
my_os2dirsrch.h Many files: 2006-12-23 20:17:15 +01:00
my_os2dlfcn.c Many files: 2006-12-23 20:17:15 +01:00
my_os2dlfcn.h0 Many files: 2006-12-23 20:17:15 +01:00
my_os2file64.c Many files: 2006-12-23 20:17:15 +01:00
my_os2mutex.c
my_os2thread.c Many files: 2006-12-23 20:17:15 +01:00
my_os2tls.c Many files: 2006-12-23 20:17:15 +01:00
my_port.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
my_pread.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
my_pthread.c Fix a linkage problem with the previous patch for "thr_client_alarm". 2007-02-12 20:13:34 +01:00
my_quick.c Many files: 2006-12-23 20:17:15 +01:00
my_read.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
my_realloc.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
my_redel.c BUG#25521 - optimize table, delete, show table status leads to table 2007-03-28 21:09:16 +05:00
my_rename.c Many files: 2006-12-23 20:17:15 +01:00
my_seek.c BUG#27141 - Calling tell(-1) under Windows causes assertion failure in Debug mode 2007-06-05 03:16:02 +05:00
my_sleep.c Many files: 2006-12-23 20:17:15 +01:00
my_static.c Fixes for 4.1 to be as in 5.0 and above. 2007-03-27 18:51:02 +03:00
my_static.h Bug#26233 very suspect code in mf_tempfile.c, in function create_temp_file() 2007-03-23 11:01:47 +01:00
my_symlink.c Many files: 2006-12-23 20:17:15 +01:00
my_symlink2.c Many files: 2006-12-23 20:17:15 +01:00
my_sync.c Many files: 2006-12-23 20:17:15 +01:00
my_thr_init.c Bug#28690 mysql-enterprise-gpl-5.0.40-linux-i686-glibc won't start on Debian Sarge 2007-06-07 09:48:37 +02:00
my_wincond.c Bug#25042 OPTIMIZE TABLE cause race condition in IO CACHE SHARE 2007-02-15 14:08:21 +01:00
my_windac.c Many files: 2006-12-23 20:17:15 +01:00
my_winthread.c Many files: 2006-12-23 20:17:15 +01:00
my_write.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
mysys_priv.h Many files: 2006-12-23 20:17:15 +01:00
ptr_cmp.c Fixed compiler warnings (for linux and win32 and win64) 2007-02-22 16:59:57 +02:00
queues.c Many files: 2006-12-23 20:17:15 +01:00
raid.cc Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1-main 2007-03-28 20:46:42 +03:00
raid2.c Many files: 2006-12-23 20:17:15 +01:00
rijndael.c my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
safemalloc.c Fix for bug #26844 "Memory allocation failures ignored by slave IO thread". 2007-03-26 13:31:23 +04:00
sha1.c Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-22 14:04:40 +02:00
string.c Merge recycle.(none):/src/bug22807/my50-bug22807 2007-01-19 13:20:52 -05:00
test_charset.c Many files: 2006-12-23 20:17:15 +01:00
test_dir.c Many files: 2006-12-23 20:17:15 +01:00
test_fn.c Many files: 2006-12-23 20:17:15 +01:00
test_xml.c Many files: 2006-12-23 20:17:15 +01:00
testhash.c Many files: 2006-12-23 20:17:15 +01:00
thr_alarm.c Merge sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.1 2007-03-23 20:39:34 +02:00
thr_lock.c Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1-main 2007-03-28 20:46:42 +03:00
thr_mutex.c Many files: 2006-12-23 20:17:15 +01:00
thr_rwlock.c Many files: 2006-12-23 20:17:15 +01:00
tree.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00
typelib.c Fixed compiler warnings. 2007-03-22 20:32:07 +02:00