1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-27 13:04:36 +03:00
Files
mariadb/tests
Magne Mahre 2b2ea96e3b Bug#12912112 MYSQL_CLIENT_TEST FAILS ON TEST_TRUNCATION
Sun Studio 12 has an error when calculating the compile-time 
length of a constant character string.  The error is only 
present when building an optimized 32-bits version, using 
the -xbuiltin=(%all) compiler flag. 
       
During compilation, the compiler recognizes the use of 
the strlen() function used on a constant string. It 
optimizes the strlen and replaces it with the actual 
length of the string.   This optimization seems to 
calculate the length wrongly in this particular case. 
       
Replacing the "const char *" with a "const char []" 
solves the problem.
2011-10-06 14:13:23 +02:00
..
2011-06-30 17:46:53 +02:00
2011-06-30 17:46:53 +02:00
2006-12-23 20:17:15 +01:00
2006-12-31 01:02:27 +01:00
2010-12-28 19:57:23 +01:00
2010-12-28 19:57:23 +01:00
2010-12-29 00:47:05 +01:00
2010-12-29 00:47:05 +01:00
2011-06-30 17:31:31 +02:00
2004-02-11 00:06:46 +01:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2010-12-28 19:57:23 +01:00
2010-12-28 19:57:23 +01:00
2006-12-23 20:17:15 +01:00
2006-12-23 20:17:15 +01:00
2011-06-30 17:46:53 +02:00
2010-12-28 19:57:23 +01:00