1. 17 Apr, 2006 1 commit
    • bar@mysql.com's avatar
      Bug#17939: Wrong table format when using UTF8 strings · aa8ab68f
      bar@mysql.com authored
      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.
      aa8ab68f
  2. 11 Apr, 2006 7 commits
  3. 10 Apr, 2006 4 commits
  4. 08 Apr, 2006 3 commits
  5. 07 Apr, 2006 10 commits
  6. 06 Apr, 2006 5 commits
  7. 03 Apr, 2006 8 commits
  8. 02 Apr, 2006 1 commit
  9. 01 Apr, 2006 1 commit
    • kent@mysql.com's avatar
      Makefile.am: · 02c661db
      kent@mysql.com authored
        Let "make install" install mysql-test-run.pl
      mysql.spec.sh:
        Set $LDFLAGS from $MYSQL_BUILD_LDFLAGS (bug#16662)
      02c661db