MariaDB server is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry.
Find a file
bar@mysql.com aa8ab68fea Bug#17939: Wrong table format when using UTF8 strings
Lines with column names consisting of national letters
were wrongly formatted in "mysql --table" results:

mysql> SELECT 'xxx xxx xxx' as 'xxx xxx xxx';
+-------------------+
| xxx xxx xxx |
+-------------------+
| xxx xxx xxx       |
+-------------------+
1 row in set (0.00 sec)

It happened because in UTF-8 (and other multibyte charsets)
the number of display cells is not always equal to the number
of bytes of the string.

Data lines (unlike column name lines) were formatted correctly,
because data lines were displayed taking in account number of
display cells. This patch takes in account number of cells when
displaying column names, the same way like displaying data lines does.

Note: The patch is going to be applied to 4.1.
Test case will be added after merge to 5.0,
into "mysql.test", which appeared in 5.0.

mysql.cc:
  Adding column name allignment using numcells(),
  the same to data alignment, which was implemented earlier.
2006-04-17 12:33:45 +05:00
bdb Fix calls to memset() with arguments out of order. (Bug #9323) 2005-03-22 16:00:02 -08:00
BitKeeper Merge mysql.com:/space/my/mysql-4.0 2005-12-07 06:46:43 +01:00
BUILD Merge 2005-12-18 14:55:05 +01:00
client Bug#17939: Wrong table format when using UTF8 strings 2006-04-17 12:33:45 +05:00
cmd-line-utils Makefile.am, configure.in: 2005-09-24 15:51:45 +02:00
dbug Makefile.am: 2005-07-05 23:24:48 +02:00
Docs Merge mysql.com:/Users/kent/mysql/bk/mysql-4.0 2006-04-03 03:40:54 +02:00
extra Merge mysql.com:/M40/push-4.0 into mysql.com:/M41/merge-4.1 2006-01-13 17:45:01 +01:00
heap Bug #12796: Record lost in HEAP table 2005-11-08 00:26:37 -05:00
include config-win.h: 2006-03-23 17:25:49 +01:00
innobase Fixed BUG#15653, BUG#16582. 2006-01-30 22:33:02 +03:00
isam Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-4.0 2005-12-04 15:34:47 +02:00
libmysql libmysql.c: 2006-04-06 11:47:46 +05:00
libmysql_r Makefile.am, configure.in: 2005-09-24 15:51:45 +02:00
libmysqld Merge mysql.com:/home/mydev/mysql-4.1 2005-12-27 10:36:19 +01:00
man - Removed obsolete and outdated man page files from the man 2005-10-27 14:51:58 +02:00
merge Makefile.am: 2005-07-05 23:24:48 +02:00
myisam Fix error in prefix compression of keys in MyISAM when key length changed from 254 -> 255 2006-03-30 01:50:52 +03:00
myisammrg Added more tests for new UPDATE ... ORDER BY ... LIMIT optimization 2005-10-25 02:27:40 +03:00
mysql-test Merge mysql.com:/home/mydev/mysql-4.1 2006-04-11 15:18:16 +02:00
mysys Merge mysql.com:/home/mydev/mysql-4.1 2006-03-04 14:06:52 +01:00
ndb Merge perch.ndb.mysql.com:/home/jonas/src/mysql-4.1 2006-04-07 10:51:21 +02:00
netware Merge mysql.com:/Users/kent/mysql/bk/mysql-4.0 2006-04-03 03:40:54 +02:00
os2 Many files: 2005-09-29 02:08:24 +02:00
pstack Makefile.am, configure.in: 2005-09-24 15:51:45 +02:00
regex Many files: 2005-09-29 02:08:24 +02:00
scripts Merge mysql.com:/Users/kent/mysql/bk/mysql-4.0 2006-04-03 03:40:54 +02:00
sql Merge mysql.com:/home/mydev/mysql-4.1 2006-04-11 15:18:16 +02:00
sql-bench Makefile.am, configure.in: 2005-09-24 15:51:45 +02:00
sql-common Fixed BUG #12440: "Incorrect processing of time values containing 2005-12-15 18:48:08 +03:00
SSL Added missing SSL library (Should be in source distribution) 2003-11-28 12:18:13 +02:00
strings conf_to_src.c: 2006-04-06 10:17:01 +05:00
support-files Makefile.am: 2006-04-01 05:44:10 +02:00
tests Cleanup during review of new pushed code 2006-03-30 03:11:37 +03:00
tools Makefile.am: 2005-07-05 23:24:48 +02:00
VC++Files vcproj files: 2006-04-01 02:14:54 +02:00
vio Fix for bug#14221 SSL support breaks going from OpenSSL 0.9.7i to 0.9.8a 2005-11-29 12:15:48 +04:00
zlib Makefile.am: 2005-12-15 02:11:21 -03:00
.bzrignore BUG#3074: Unversioned symbols in shared library 2006-01-17 18:51:08 +04:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
acinclude.m4 Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.0 2006-04-11 14:49:33 +03:00
config.guess - updated config.guess, config.sub and ltmain.sh with versions from libtool 2004-02-06 00:58:15 +01:00
config.sub - updated config.guess, config.sub and ltmain.sh with versions from libtool 2004-02-06 00:58:15 +01:00
configure.in Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.0 2006-04-11 14:49:33 +03:00
COPYING - manual.texi will be replaced with a manual written in DocBook/XML. This ChangeSet removes all 2005-04-13 11:51:38 +02:00
depcomp - Applied required modifications for automake 1.5 2002-10-01 21:57:10 +02:00
install-sh install-sh: copy not move like any reasonably modern install does 2004-07-30 18:53:54 +02:00
ltconfig libtool tweaks 2004-02-17 21:46:40 +01:00
ltmain.sh Merge with 4.0 for 4.1 release 2004-10-06 19:14:33 +03:00
Makefile.am Merge kboortz@bk-internal.mysql.com:/home/bk/mysql-4.1 2005-11-04 01:15:35 +01:00
missing - Applied required modifications for automake 1.5 2002-10-01 21:57:10 +02:00
mkinstalldirs Import changeset 2000-07-31 21:29:14 +02:00
README README: 2006-04-01 04:13:33 +02:00

This is a release of MySQL, a dual-license SQL database server.
MySQL is brought to you by the MySQL team at MySQL AB.

License information can be found in these files:
- For GPL (free) distributions, see the COPYING file.
- For commercial distributions, see the MySQLEULA.txt file.


For further information about MySQL or additional documentation, see:
- The latest information about MySQL: http://www.mysql.com
- The current MySQL documentation: http://dev.mysql.com/doc

Some manual sections of special interest:

- If you are migrating from an older version of MySQL, please read the
  "Upgrading from..." section first!
- To see what MySQL can do, take a look at the features section.
- For installation instructions, see the Installation chapter.
- For future plans, see the TODO appendix.
- For the new features/bugfix history, see the News appendix.
- For the currently known bugs/misfeatures (known errors) see the problems
  appendix.
- For a list of developers and other contributors, see the Credits
  appendix.

A local copy of the MySQL Reference Manual can be found in the Docs
directory in GNU Info format.  You can also browse the manual online or
download it in any of several formats at the URL given earlier in this
file.

************************************************************

IMPORTANT:

Bug or error reports should be sent to http://bugs.mysql.com.