mariadb/include
unknown e904d0e750 Porting of "buffered read" patch to 5.0 and post-review fixes.
The patch implements the idea suggested by Olaf van der Spek in 
thread "Client: many small reads?" (internals@lists.mysql.com).
Now small reads performed by the client library are buffered.
The buffering gives up to 2 times speedup when retrieving 
one-column tables.


BUILD/SETUP.sh:
  Remove --with-vio option which no longer exist.
BUILD/compile-pentium64-valgrind-max:
  Remove --with-vio option which no longer exist.
config/ac-macros/misc.m4:
  Removed --with-vio configure switch: we always use VIO. The switch,
   in fact, only saved us one pointer dereferencing per call in case we had
  only one transport type in VIO enabled.
config/ac-macros/openssl.m4:
  Removed HAVE_VIO.
include/config-win.h:
  Removed HAVE_VIO (not needed anymore)
  Added HAVE_VIO_READ_BUFF (define buffered client reads for Windows clients).
include/violite.h:
  Removed HAVE_VIO, as currently VIO is always in use.
  Added declaration for vio_read_buff and related members in struct VIO.
sql-common/client.c:
  Use flags to set up vio read buffering in mysql_real_connect.
sql/mysqld.cc:
  Use flags to disable vio read buffering when creating a server 
  connection.
vio/vio.c:
  Optionally set up vio read buffer when creating a new VIO structure.
vio/viosocket.c:
  Implementation of client-side buffered reads in VIO: the idea 
  is to buffer small reads in a client buffer to save amount of
  syscalls per retrieved result set. The implementation relies
  on the fact that read/recv will return as soon as there is
  some data in the kernel buffer, no matter how big the given
  user's buffer is. To be able to disable it in case recv/read don't
  have such semantics, the new calls are guarded
  with #define HAVE_VIO_READ_BUFF. Currently buffered reading is 
  switched on only for BSD sockets and named pipes, both on Windows
  and UNIXes.
2005-03-06 00:10:08 +03:00
..
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
config-netware.h A patch for Netware. 2005-01-13 19:24:54 +02:00
config-os2.h Implemented UTC_TIME, UTC_DATE and UTC_TIMESTAMP functions (WL#345) 2003-08-11 23:43:01 +04:00
config-win.h Porting of "buffered read" patch to 5.0 and post-review fixes. 2005-03-06 00:10:08 +03:00
decimal.h Fixed BUILD script to use --with-berkeley-db instead of --with-bdb 2005-02-19 18:58:27 +02:00
errmsg.h Merge with global tree 2004-12-31 00:50:30 +02:00
ft_global.h indexless boolean fulltext search was depending on default_charset_info - Bug#8159 2005-02-04 15:24:06 +01:00
hash.h Followup: rename the declaration (hash_reset -> my_hash_reset) 2005-01-11 13:57:07 +03:00
heap.h limit HEAP table size with max_heap_table_size, better estimation for mem_per_row 2005-01-14 19:49:45 +01:00
help_end.h Applied a patch for Netware. 2005-02-08 19:49:40 +02:00
help_start.h Applied a patch for Netware. 2005-02-08 19:49:40 +02:00
keycache.h Final patch for BUG#4285. 2005-01-19 12:55:54 +02:00
m_ctype.h CSC#4385: slow sorting for UTF8 large table: 2005-01-26 16:34:09 +04:00
m_string.h Backport my_strntod() from 5.0 2005-02-22 12:51:23 +02:00
Makefile.am small Makefile.am cleanup 2005-01-28 17:14:03 +01:00
md5.h Update copyright 2001-12-06 14:10:51 +02:00
merge.h Update copyright 2001-12-06 14:10:51 +02:00
my_aes.h Made keyread (key scanning) a key specific attribute. 2002-06-19 00:22:30 +03:00
my_alarm.h Update copyright 2001-12-06 14:10:51 +02:00
my_alloc.h Small improvement to alloc_root 2002-11-16 20:19:10 +02:00
my_base.h Bug #7878 with utf_general_ci, equals (=) has problem with accent insensitivity 2005-02-18 16:10:12 +04:00
my_bitmap.h Fixes in opt_range.cc: ROR plan choice code 2005-01-17 00:18:19 +03:00
my_dbug.h Merge bk-internal:/home/bk/mysql-5.0 2004-11-15 19:27:06 +01:00
my_dir.h Fix for Bug #1952 2003-12-12 03:39:29 +03:00
my_getopt.h Merge with 4.0 2004-09-01 04:12:09 +03:00
my_global.h Merge with after merge fix 2005-03-04 11:37:45 +01:00
my_handler.h After merge fixes 2004-12-31 00:44:00 +02:00
my_list.h one more name clash in public includes fixed 2004-11-02 22:46:55 +01:00
my_net.h BUG#7384 IM fails to compile on Solaris. 2004-12-18 03:21:20 +03:00
my_no_pthread.h CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS 2003-11-18 13:47:27 +02:00
my_nosys.h Update copyright 2001-12-06 14:10:51 +02:00
my_pthread.h manually merged 2005-02-14 21:50:09 +01:00
my_semaphore.h more #ifdef THREAD added 2003-04-30 12:32:43 +02:00
my_sys.h Prevent a collision with the system's '#define errno ...' by guarding the variable declaration. 2005-03-03 12:35:39 +01:00
my_time.h Data truncation reporting implementation (libmysql) + post review 2004-12-16 03:15:06 +03:00
my_tree.h after merge fixes 2004-03-18 00:09:13 +02:00
my_xml.h Portability fixes 2003-02-28 14:32:40 +02:00
myisam.h First stage of table definition cache 2005-01-06 13:00:13 +02:00
myisammrg.h key_cmp -> key_cmp_if_same 2004-05-16 14:48:32 +03:00
myisampack.h Casted all macro arguments, 2004-07-28 21:46:22 +02:00
mysql.h Backport of ChangeSet 1.1845 05/02/04 13:53:16 guilhem@mysql.com +1 -0 from 5.0. 2005-02-04 23:07:10 +01:00
mysql_com.h Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2005-02-28 16:22:26 +02:00
mysql_embed.h Merge with 4.0, mainly to get changes to windows project files 2004-05-20 00:54:52 +03:00
mysql_time.h Fix for bug #6266 "Invalid DATETIME value is not handled properly". 2004-11-15 15:44:29 +03:00
mysql_version.h.in Merge with 4.0 to get fixes for Windows project files 2004-05-25 02:47:25 +03:00
mysys_err.h Show all generated warnings in SHOW ERROR 2005-02-24 23:33:42 +02:00
nisam.h Update copyright 2001-12-06 14:10:51 +02:00
queues.h Fix for BUG#4177: 2004-11-21 11:51:19 +03:00
raid.h Making 4.1 tree compile with -ansi -pedantic 2004-12-16 16:16:28 +03:00
rijndael.h Made keyread (key scanning) a key specific attribute. 2002-06-19 00:22:30 +03:00
sha1.h Made keyread (key scanning) a key specific attribute. 2002-06-19 00:22:30 +03:00
sql_common.h Remove stale declaration, fix a typo in comment. 2004-10-15 22:03:11 +04:00
sslopt-case.h fixed so that --ssl and --skip-ssl works with the MySQL clients. 2002-09-17 23:46:53 +03:00
sslopt-longopts.h consistency fix - all help texts for command-line options should end with a dot. 2003-06-13 10:59:02 +02:00
sslopt-vars.h Update copyright 2001-12-06 14:10:51 +02:00
t_ctype.h Update copyright 2001-12-06 14:10:51 +02:00
thr_alarm.h Added patches from Novell 2004-05-25 22:00:14 +03:00
thr_lock.h Merge with 4.0 2003-03-16 19:17:54 +02:00
typelib.h Bug#6202: ENUMs are not case sensitive even if declared BINARY 2004-10-25 17:51:26 +05:00
violite.h Porting of "buffered read" patch to 5.0 and post-review fixes. 2005-03-06 00:10:08 +03:00