mariadb/include
Michael Widenius f77e2692dc Added client functions:
- mysql_get_server_name()
  This returns MySQL or MariaDB depending on the server type
- mariadb_connection()
  This returns 1 if you are connected to a MariaDB server

Modifed the MySQL command line client to print out if you are connected to MariaDB or MySQL
Better default prompt (shows server you are connected to and base directory)

client/mysql.cc:
  Print out if you are connected to MariaDB or MySQL
  Better default prompt (shows server you are connected to and base directory)
  Added option \N to prompt to print server name.
configure.in:
  Changed maria to MariaDB in version string
include/mysql.h:
  Added mysql_get_server_name() and mariadb_connection()
include/mysql.h.pp:
  Update for new API functions
libmysql/libmysql.c:
  Added client functions:
  - mysql_get_server_name()
    This returns MySQL or MariaDB depending on the server type
  - mariadb_connection()
    This returns 1 if you are connected to a MariaDB server
2009-10-02 13:36:28 +03:00
..
atomic Fix XtraDB to build with atomic operations, for good performance. 2009-06-10 11:13:53 +02:00
mysql Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
.cvsignore
base64.h Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-23 20:20:40 +01:00
config-netware.h Auto-merge 2009-07-31 15:28:15 -04:00
config-win.h Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
decimal.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
errmsg.h Bug#27430 "Crash in subquery code when in PS and table DDL changed after 2008-05-20 20:36:26 +04:00
ft_global.h Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1 2007-06-27 17:49:12 +03:00
hash.h Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
heap.h Added support for 'internal temporary tables' in HEAP tables. 2007-07-25 01:58:12 +03:00
help_end.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
help_start.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
keycache.h Merge hynda.mysql.fi:/home/my/mysql-5.1-main 2007-09-27 17:05:07 +03:00
lf.h post-review fixes 2009-01-15 22:27:36 +01:00
m_ctype.h Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
m_string.h Cherry-pick revid:psergey@askmonty.org-20090608135546-ut1yrzbah4gdw6e6 2009-06-15 13:01:35 +02:00
Makefile.am Apply patch by Antony Dovgal: 2009-03-22 14:16:09 +02:00
maria.h Merge with mysql-maria tree 2009-02-19 11:01:25 +02:00
my_aes.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
my_alarm.h Many files: 2006-12-23 20:17:15 +01:00
my_alloc.h Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
my_atomic.h Fixes for bugs (my_atomic and Maria log handler) observed on 2008-02-20 16:58:43 +01:00
my_attribute.h Bug#25118 ATTRIBUTE_FORMAT_FPTR undeclared in m_ctype.h 2007-04-12 00:43:25 +02:00
my_base.h Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
my_bit.h After merge fixes. 2008-04-29 09:26:37 +03:00
my_bitmap.h Bug#31552 Replication breaks when deleting rows from out-of-sync table 2007-12-12 12:14:59 +02:00
my_dbug.h Added "pool-of-threads" handling (with libevent) 2009-03-13 00:27:35 +02:00
my_dir.h Many files: 2006-12-23 20:17:15 +01:00
my_getopt.h Bug#39289 libmysqld.a calls exit() upon error 2008-10-27 13:57:59 +04:00
my_global.h MWL#17: Table elimination: fixes for windows 2009-09-16 23:05:03 +04:00
my_handler.h Added some changes inspired by Zardosht Kasheff: 2009-06-30 00:03:30 +03:00
my_libwrap.h Many files: 2006-12-23 20:17:15 +01:00
my_list.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
my_md5.h Bug #42434: license of mysys MD5 implementation is not GPL-compatible 2009-03-09 20:57:03 +02:00
my_net.h Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-23 20:20:40 +01:00
my_no_pthread.h Merge mysql.com:/home/kent/bk/main/mysql-5.0 2006-12-23 20:20:40 +01:00
my_nosys.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
my_pthread.h Changed default thread stack to 288K to get better memory missalignment between stacks of different threads (should speed up things) and to get a bit extra safety. 2009-06-30 15:01:29 +03:00
my_stacktrace.h Bug#37003 Tests sporadically crashes with embedded server 2008-06-19 11:02:32 -03:00
my_sys.h Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
my_time.h Merge zippy.cornsilk.net:/home/cmiller/work/mysql/bug26294/my50-bug26294 2008-04-03 13:14:57 -04:00
my_tree.h WL#3138: Maria - fast "SELECT COUNT(*) FROM t;" and "CHECKSUM TABLE t" 2008-05-29 18:33:33 +03:00
my_trie.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
my_uctype.h Many files: 2006-12-31 02:29:11 +01:00
my_user.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
my_vle.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
my_xml.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
myisam.h Bug#43940 64-bit windows myisamchk doesn't support key_buffer_size > 4G 2009-05-27 13:11:28 +05:00
myisamchk.h Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
myisammrg.h Bug#45800 crash when replacing into a merge table and there is a duplicate 2009-07-30 16:04:41 +05:30
myisampack.h Injecting more "const" declarations into code which does not change 2008-04-03 15:40:25 +02:00
mysql.h Added client functions: 2009-10-02 13:36:28 +03:00
mysql.h.pp Added client functions: 2009-10-02 13:36:28 +03:00
mysql_com.h Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
mysql_embed.h Bug #32211 Test 'windows' and 'windows_shm' failed for embedded server 2007-11-18 00:32:06 +04:00
mysql_time.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mysql_version.h.in Added mariadb and mariadb-version as my.conf option tags 2009-03-18 04:14:22 +02:00
mysys_err.h Added wrapper for chmod(): my_chmod() 2008-01-03 09:45:46 +02:00
queues.h Bug #31890 Partitions: ORDER BY DESC in InnoDB not working. 2007-11-14 22:20:31 +04:00
rijndael.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
sha1.h my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
sql_common.h Merge mysql.com:/home/hf/work/25097/my50-25097 2008-02-27 13:00:59 +04:00
sslopt-case.h Many files: 2006-12-23 20:17:15 +01:00
sslopt-longopts.h WL#3817: Simplify string / memory area types and make things more consistent (first part) 2007-05-10 12:59:39 +03:00
sslopt-vars.h Many files: 2006-12-23 20:17:15 +01:00
t_ctype.h Many files: 2006-12-23 20:17:15 +01:00
thr_alarm.h fixes for build failures due to my yesterday's changeset forbidding 2008-02-19 18:45:11 +01:00
thr_lock.h Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
typelib.h Added "pool-of-threads" handling (with libevent) 2009-03-13 00:27:35 +02:00
violite.h Merge MySQL->MariaDB 2009-09-08 00:50:10 +04:00
waiting_threads.h compilation fixes 2009-01-19 16:27:49 +01:00
wqueue.h Locking for read and write made waiting for each other (with loose 2008-02-22 22:32:34 +02:00