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.
  • MariaDB\ 71.8%
  • C++ 16.4%
  • C 10.4%
  • Shell 0.5%
  • Perl 0.4%
  • Other 0.3%
Find a file
unknown 816ea8a379 Bug#15757: Wrong SUBSTRING() result when a tmp table was employed.
When the SUBSTRING() function was used over a LONGTEXT field the max_length of
the SUBSTRING() result was wrongly calculated and set to 0. As the max_length
parameter is used while tmp field creation it limits the length of the result
field and leads to printing an empty string instead of the correct result.

Now the Item_func_substr::fix_length_and_dec() function correctly calculates
the max_length parameter.


mysql-test/t/func_str.test:
  Added a test case for the bug#15757: Wrong SUBSTRING() result when a tmp table was employed.
mysql-test/r/func_str.result:
  Added a test case for the bug#15757: Wrong SUBSTRING() result when a tmp table was employed.
sql/item_strfunc.cc:
  Bug#15757: Wrong SUBSTRING() result when a tmp table was employed.
  Now the Item_func_substr::fix_length_and_dec() function correctly calculates
  the max_length parameter.
2007-03-10 19:55:34 +03:00
bdb
BitKeeper Bug#25807: LOAD DATA INFILE does not work with Pipes 2007-02-13 16:35:29 -05:00
BUILD Correctly recognize Intel Core2Duo Extreme 2007-03-01 15:28:10 +02:00
client Portability fix 2007-02-22 20:20:49 +02:00
cmd-line-utils Fixed compiler warnings (for linux and win32 and win64) 2007-02-22 16:59:57 +02:00
config/ac-macros
dbug Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-22 14:04:40 +02:00
Docs
extra Fixed compiler warnings (for linux and win32 and win64) 2007-02-22 16:59:57 +02:00
heap Fixed compiler warnings 2007-01-22 15:52:15 +02:00
include Fixed compiler warnings (for linux and win32 and win64) 2007-02-22 16:59:57 +02:00
innobase Fixed compiler warnings (for linux and win32 and win64) 2007-02-22 16:59:57 +02:00
libmysql Fixed compiler warnings (for linux and win32 and win64) 2007-02-22 16:59:57 +02:00
libmysql_r
libmysqld bug #25492 (Invalid deallocation in mysql_stmt_fetch) 2007-02-13 00:55:45 +04:00
man
myisam Fixed compiler warnings (for linux and win32 and win64) 2007-02-22 16:59:57 +02:00
myisammrg
mysql-test Bug#15757: Wrong SUBSTRING() result when a tmp table was employed. 2007-03-10 19:55:34 +03:00
mysys Fixed compiler warnings (for linux and win32 and win64) 2007-02-22 16:59:57 +02:00
ndb Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-02-22 20:32:19 +02:00
netware
os2
pstack
regex
scripts Merge pilot.mysql.com:/home/msvensson/mysql/mysql-5.0 2007-02-13 10:00:53 +01:00
server-tools Fixed compiler warnings (for linux and win32 and win64) 2007-02-22 16:59:57 +02:00
sql Bug#15757: Wrong SUBSTRING() result when a tmp table was employed. 2007-03-10 19:55:34 +03:00
sql-bench
sql-common Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-02-21 14:07:08 +02:00
SSL
strings Fixed compiler warnings (for linux and win32 and win64) 2007-02-22 16:59:57 +02:00
support-files Compiler warning suppression fix: Add missing file to 'make dist'. 2007-02-26 08:11:10 +01:00
tests Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-22 14:04:40 +02:00
tools Fixed compiler warnings (for linux and win32 and win64) 2007-02-22 16:59:57 +02:00
VC++Files gen_lex_hash.cc: 2007-01-31 00:06:42 +01:00
vio Merge 192.168.0.5:mysql/bug25203/my50-bug25203 2007-02-06 21:55:39 +01:00
win
zlib
.bzrignore Merge pilot.mysql.com:/home/msvensson/mysql/mysql-5.0 2007-02-13 10:00:53 +01:00
.cvsignore
CMakeLists.txt
configure.in Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-02-21 14:07:08 +02:00
configure.in.rej
COPYING
Makefile.am Bug#25844: "make test" does not find mysql-test-run.pl 2007-02-01 15:59:51 +01:00
README

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 and
  the EXCEPTIONS-CLIENT file.
- For commercial distributions, see the LICENSE.mysql 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 Installing and Upgrading chapter.
- For the new features/bugfix history, see the Change History appendix.
- For the currently known bugs/misfeatures (known errors) see the Problems
  and Common Errors 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.