summaryrefslogtreecommitdiff
path: root/vio/vio.c
Commit message (Collapse)AuthorAgeFilesLines
* Fixes bug #5588. Additions after merge from 4.0.SergeyV@selena.2005-09-071-1/+3
|
* Merge selena.:H:/MYSQL/src/#05588-mysql-4.0SergeyV@selena.2005-09-071-0/+2
|\ | | | | | | into selena.:H:/MYSQL/src/#05588-mysql-4.1
| * Fixes bug #5588. vio_was_interrupted() function was added to detectSergeyV@selena.2005-08-301-0/+2
| | | | | | | | read timeout properly on win32.
* | Fixed some vio code that was using ___WIN__ instead of __WIN__reggie@linux.site2005-07-121-2/+2
| |
* | fix indentationwax@kishkin.ru2004-12-231-11/+11
| | | | | | | | | | | | add space after comma add space after equal add comments in vio_close_shared_memory()
* | BUG#6056 wax@kishkin.ru2004-12-141-1/+3
| | | | | | | | | | | | | | | | | | (continue) added event_conn_closed replaced WaitForSingleObject on WaitForMultipleObjects inserted a check in vio_close() added SetEvent() for event_conn_closed
* | Added missing timeout function for named pipes and shared memory (fixes core ↵monty@mysql.com2003-12-151-0/+2
| | | | | | | | | | | | | | dump on windows) Signed auto_increment keys for HASH tables (like for MyISAM tables in 4.0) nitialize system_charset_info() early. Fixes core dump when starting windows service
* | merge with 4.0.15monty@narttu.mysql.fi2003-08-291-7/+3
|\ \ | |/
| * vio ssl structure renames (to get rid of ending _)monty@narttu.mysql.fi2003-08-271-7/+3
| | | | | | | | | | Added TCP/IP read/write timeout for windows Check on windows if second server is started with same TCP/IP port
* | Merge with 4.0.6monty@mashka.mysql.fi2002-12-051-0/+3
|\ \ | |/
| * FreeBSD patch by Jeremy Zawodny.Sinisa@sinisa.nasamreza.org2002-11-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | His explanation: The socket on which MySQL listens for new connections on a blocking socket most of the time but is set to non-blocking during the accept() of the new connection. Due to a bug in the kernel, the new socket returned by accept() is a blocking socket but returns the O_NONBLOCK flag when queried via fcntl(F_GETFL). That is, the file descriptor and the underlying socket don't agree on the blocking mode. Since MySQL determines via fcntl(F_GETFL) that the socket is non-blocking, it expects the first read() in my_real_read to not block, so it doesn't enable the timeout alarm. However, the read does block, and thus there's no timeout alarm. The thread kill (which relies on rescheduling the timeout alarm) also does not work as a consequence. The bug shows itself if you build MySQL with LinuxThreads support (needed for SMP on FreeBSD). Issuing a KILL command in MySQL won't be "noticed" by the "killed" thread until it runs another query--that makes KILL pretty useless. And the wait_timeout doesn't work either.
* | Add shared memory protocol and option --protocolwax@mysql.com2002-11-151-1/+77
|/
* Changed relay_log_space to ulonglongmonty@hundin.mysql.fi2002-08-231-3/+2
| | | | Removed compiler warnings.
* Fixed bug in blocking handling when compiling with OPENSSL (caused hangup in ↵monty@hundin.mysql.fi2002-08-171-1/+1
| | | | | | | client code) Fixed bug in SELECT DISTINCT ... ORDER BY not-used-column. Fixed bug in pthread_mutex_trylock with HPUX 11.0
* Lots of code fixes to the replication code (especially the binary logging ↵monty@mashka.mysql.fi2002-08-081-0/+3
| | | | | | | | | | | | | | | | | | and index log file handling) Fixed bugs in my last changeset that made MySQL hard to compile. Added mutex around some data that could cause table cache corruptions when using OPTIMIZE TABLE / REPAIR TABLE or automatic repair of MyISAM tables. Added mutex around some data in the slave start/stop code that could cause THD linked list corruptions Extended my_chsize() to allow one to specify a filler character. Extend vio_blocking to return the old state (This made some usage of this function much simpler) Added testing for some functions that they caller have got the required mutexes before calling the function. Use setrlimit() to ensure that we can write core file if one specifies --core-file. Added --slave-compressed-protocol Made 2 the minimum length for ft_min_word_len Added variables foreign_key_checks & unique_checks. Less logging from replication code (if not started with --log-warnings) Changed that SHOW INNODB STATUS requre the SUPER privilege More DBUG statements and a lot of new code comments
* Fixed that enable-reads-from-master and repl-parse-query works in option files.monty@hundin.mysql.fi2002-04-291-1/+1
| | | | | Fixed slowdown problem on win98 Fixed syntax for ALTER TABLE .. RENAME
* Update copyrightmonty@hundin.mysql.fi2001-12-061-4/+4
| | | | Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
* Removed unused code in VIOtonu@volk.internalnet2001-11-021-2/+0
|
* One should not only have to include my_net.h to work with sockets.monty@hundin.mysql.fi2001-10-091-12/+0
| | | | | | This wrapper noew will include all the necessary, system specific files, which makes all normal source files much easier to write and maintain. Portability fixes.
* Portability fixes + a couple of bug fixes introduced by last push.monty@hundin.mysql.fi2001-10-081-17/+1
|
* Changed to use my_global.hmonty@hundin.mysql.fi2001-09-141-1/+1
| | | | | Fixed problem with LIKE with latin1_de Added parsing support of UNSIGNED LONG LONG
* mergemonty@hundin.mysql.fi2001-06-051-0/+10
|\
| * vio.c Vio code bugfixtonu@hundin.mysql.fi2001-06-051-1/+11
| | | | | | | | violite.h Code cleanup
* | Symlinking of tables should not work.monty@hundin.mysql.fi2001-06-051-29/+29
|/ | | | | | Fixed error number handling bug in mysqltest. Fixed that error number from insert delayed is reported correctly. merged new vio code with old violite code.
* Support for VIO librarytonu@hundin.mysql.fi2001-05-311-10/+11
|
* viotcpip.c BitKeeper file /home/tonu/bk/mysql-4.0/vio/viotcpip.ctonu@x3.internalnet2001-05-201-0/+151
viosslfactories.c BitKeeper file /home/tonu/bk/mysql-4.0/vio/viosslfactories.c viossl.c BitKeeper file /home/tonu/bk/mysql-4.0/vio/viossl.c vio.c BitKeeper file /home/tonu/bk/mysql-4.0/vio/vio.c