mariadb/sql
unknown cb8d9c3ad4 Backport my_strntod() from 5.0
Change string->float conversion to delay division as long as possible.
This gives us more exact integer->float conversion for numbers of type '123.45E+02' (Bug #7740)




client/mysql.cc:
  Fix wront usage of charset (found during review of pushed code)
include/m_string.h:
  Backported my_strtod() from 5.0
mysql-test/mysql-test-run.sh:
  Run also mysql_client_test with --debug
mysql-test/r/ps_1general.result:
  Safety fix (if mysql_client_test.test fails)
mysql-test/r/type_float.result:
  More test
mysql-test/t/mysql_client_test.test:
  Comments for what to do if this test fails
mysql-test/t/ps_1general.test:
  Safety fix (if mysql_client_test.test fails)
mysql-test/t/type_float.test:
  More test to better test new strtod() function
  Test also bug #7740 (wrong comparsion between integer and float-in-integer-range)
sql/field.cc:
  Backport my_strntod() from 5.0
sql/item.cc:
  Backport my_strntod() from 5.0
sql/item.h:
  Backport my_strntod() from 5.0
sql/item_func.h:
  Backport my_strntod() from 5.0
sql/item_strfunc.cc:
  Backport my_strntod() from 5.0
sql/item_sum.cc:
  Backport my_strntod() from 5.0
sql/item_sum.h:
  Backport my_strntod() from 5.0
sql/procedure.h:
  Backport my_strntod() from 5.0
strings/ctype-simple.c:
  Backport my_strntod() from 5.0
strings/ctype-ucs2.c:
  Backport my_strntod() from 5.0
strings/strtod.c:
  Backport my_strntod() from 5.0
  Change conversion to delay division as long as possible.
  This gives us more exact integer-> float conversion for numbers of type '123.45E+02'
2005-02-22 12:51:23 +02:00
..
examples new static archive_inited variable, so that archive_db_end() will do something only if archive_db_init() was run before 2005-02-12 19:17:33 +01:00
share errmsg.txt: 2005-01-20 13:08:16 +04:00
.cvsignore
add_errmsg
client_settings.h
custom_conf.h
derror.cc Fixed many compiler warnings 2004-04-05 13:56:05 +03:00
des_key_file.cc
discover.cc WL1424 Multiple MySQL Servers: SHOW TABLES etc. should detect new and delete old tables. 2004-09-13 14:46:38 +02:00
field.cc Backport my_strntod() from 5.0 2005-02-22 12:51:23 +02:00
field.h A fix: bug#6931: Date Type column problem when using UNION-Table 2005-02-04 15:31:36 +03:00
field_conv.cc Merge changed tests 2005-01-18 12:25:56 -08:00
filesort.cc Merge mysql.com:/home/my/mysql-4.0 into mysql.com:/home/my/mysql-4.1 2005-01-18 03:52:15 +02:00
frm_crypt.cc
gen_lex_hash.cc Merge with 4.0 2004-09-01 04:12:09 +03:00
gstream.cc Fix for valgrind's warning 2004-03-15 16:32:53 +04:00
gstream.h Fix for valgrind's warning 2004-03-15 16:32:53 +04:00
ha_berkeley.cc Fix small memory leak that occured when BerkeleyDB failed to initialize. 2005-01-12 17:20:43 -08:00
ha_berkeley.h Fix for BUG#5117: 2004-09-13 06:14:25 +04:00
ha_heap.cc Fix for BUG#8371: wrong rec_per_key value for hash index on temporary table 2005-02-08 23:44:51 +03:00
ha_heap.h Fix for bug#5138: hash indexes on heap tables support statistics. 2004-09-08 02:07:53 +04:00
ha_innodb.cc Merge hundin.mysql.fi:/home/marko/k/mysql-4.0 2005-02-15 16:12:51 +02:00
ha_innodb.h InnoDB: Backport innodb_autoextend_increment from 4.1 2005-01-25 16:27:13 +02:00
ha_isam.cc Support for TIMESTAMP columns holding NULL values. Unlike all other 2004-10-01 18:54:06 +04:00
ha_isam.h New handler::index_flags() definition to make it easy to check the full used key and a specific key part. 2004-07-08 15:45:25 +03:00
ha_isammrg.cc Support for TIMESTAMP columns holding NULL values. Unlike all other 2004-10-01 18:54:06 +04:00
ha_isammrg.h New handler::index_flags() definition to make it easy to check the full used key and a specific key part. 2004-07-08 15:45:25 +03:00
ha_myisam.cc Bug#6202: ENUMs are not case sensitive even if declared BINARY 2004-10-25 17:51:26 +05:00
ha_myisam.h indexless boolean fulltext search was depending on default_charset_info - Bug#8159 2005-02-04 15:24:06 +01:00
ha_myisammrg.cc Fix for BUG#7377. This fix adds the same implementation for ha_myisammgr::index_type as in version 5.0. 2004-12-27 14:05:35 +02:00
ha_myisammrg.h Fix for BUG#7377. This fix adds the same implementation for ha_myisammgr::index_type as in version 5.0. 2004-12-27 14:05:35 +02:00
ha_ndbcluster.cc ndb - fix old decimal type mysql vs ndb 2005-02-16 12:45:59 +01:00
ha_ndbcluster.h Bug#8101 unique indexes which attribute are _not_ specified in the order of the table does not work 2005-01-26 11:31:46 +01:00
handler.cc Test Bug: Memory leaks in the archive handler. 2005-01-26 15:27:31 +01:00
handler.h indexless boolean fulltext search was depending on default_charset_info - Bug#8159 2005-02-04 15:24:06 +01:00
hash_filo.cc
hash_filo.h
hostname.cc
init.cc Portability fixes 2004-04-07 04:33:58 +03:00
item.cc Backport my_strntod() from 5.0 2005-02-22 12:51:23 +02:00
item.h Backport my_strntod() from 5.0 2005-02-22 12:51:23 +02:00
item_buff.cc
item_cmpfunc.cc Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1 2005-02-09 21:14:06 +02:00
item_cmpfunc.h fixed column number fetchinmg for subqueries. (BUG#8020) 2005-01-24 14:25:44 +02:00
item_create.cc innobase/include/univ.i 2005-01-26 08:57:43 +01:00
item_create.h Making 4.1 tree compile with -ansi -pedantic 2004-12-16 16:16:28 +03:00
item_func.cc Better bugfix for "HAVING when refering to RAND()" (Bug #8216) 2005-02-08 14:41:09 +02:00
item_func.h Backport my_strntod() from 5.0 2005-02-22 12:51:23 +02:00
item_geofunc.cc Fix for bug #6765 "Implicit access to time zone description 2004-12-09 13:31:46 +03:00
item_geofunc.h Additional fix for bug #5136 (Geometry object is corrupted when queried) 2004-09-22 22:36:53 +05:00
item_row.cc Better bugfix for "HAVING when refering to RAND()" (Bug #8216) 2005-02-08 14:41:09 +02:00
item_row.h Deployment of centralized Item change registry, step 2: Item_ref 2004-10-08 19:13:09 +04:00
item_strfunc.cc Backport my_strntod() from 5.0 2005-02-22 12:51:23 +02:00
item_strfunc.h Merge fixes for #8248, #5569. 2005-02-02 08:21:11 -08:00
item_subselect.cc reverted patch for BUG#7351 (because of performance ussie) 2005-02-09 21:08:08 +02:00
item_subselect.h postreview fix 2004-12-07 21:18:15 +02:00
item_sum.cc Backport my_strntod() from 5.0 2005-02-22 12:51:23 +02:00
item_sum.h Backport my_strntod() from 5.0 2005-02-22 12:51:23 +02:00
item_timefunc.cc Merge bk-internal.mysql.com:/home/bk/mysql-4.1 2005-01-28 09:32:43 +03:00
item_timefunc.h Fix for bug #7899 "CREATE TABLE .. SELECT .. and CONVERT_TZ() function 2005-01-26 22:25:02 +03:00
item_uniq.cc
item_uniq.h DBUG_ASSERT(fixed == 1); added to val* 2004-03-18 15:14:36 +02:00
key.cc Bug#4594: column index make = failed for gbk, but like works 2004-08-23 20:12:39 +05:00
lex.h WL#1596 "make mysqldump --master-data --single-transaction able to do online dump of InnoDB AND report reliable 2004-11-10 17:56:45 +01:00
lex_symbol.h
lock.cc Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 2004-11-30 22:22:12 +01:00
log.cc BUG#6749: If there is no current database, then nothing should be binlogged if 2005-02-10 21:23:48 +01:00
log_event.cc Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1 2005-01-14 10:59:37 +01:00
log_event.h Remove DUP_IGNORE from enum_duplicates and instead use a separate ignore flag 2004-12-31 12:04:35 +02:00
Makefile.am logging_ok: 2004-09-15 20:41:49 +02:00
matherr.c
mf_iocache.cc merge with 4.0 2004-03-16 22:41:30 +02:00
my_lock.c
mysql_priv.h Fix removal of tables from cache when the database they are contained 2005-02-08 15:14:14 -08:00
mysqld.cc Fix for the bug #7344 (multiple server_init/server_end lead to crash) 2005-02-18 15:51:55 +04:00
mysqld_suffix.h New MYSQL_SERVER_SUFFIX usage (for easier compilation) 2004-05-25 02:28:44 +03:00
net_serv.cc make it compile with -ansi -pedantic 2005-01-11 13:12:52 +03:00
nt_servc.cc Merge with 4.0 2004-03-25 23:29:45 +02:00
nt_servc.h
opt_range.cc Simpler arena swapping code 2004-11-08 01:13:54 +02:00
opt_range.h backport Serg's fix of FT interface (BUG#6523) 2004-11-16 22:58:02 +02:00
opt_sum.cc opt_sum.cc: 2004-09-15 23:52:46 -07:00
password.c sql/password.c: check for buffer overflow in check_scramble_323 (BUG#7187) 2004-12-11 10:17:25 +01:00
procedure.cc
procedure.h Backport my_strntod() from 5.0 2005-02-22 12:51:23 +02:00
protocol.cc bug#6275 "client_test" fail in 4.1.7 make test 2004-12-14 15:58:30 +04:00
protocol.h Remove usage of !$ from mysql-tests 2004-11-02 20:13:27 +02:00
protocol_cursor.cc
records.cc Merge with 4.0 for 4.1 release 2004-10-06 19:14:33 +03:00
repl_failsafe.cc Fix for bug #6765 "Implicit access to time zone description 2004-12-09 13:31:46 +03:00
repl_failsafe.h Merge with 4.0 for 4.1 release 2004-10-06 19:14:33 +03:00
set_var.cc bug#6958 2005-02-17 15:04:04 +04:00
set_var.h bug#6958 2005-02-17 15:04:04 +04:00
slave.cc Merge serg@bk-internal.mysql.com:/home/bk/mysql-4.1/ 2005-01-24 15:50:13 +01:00
slave.h A change of behaviour of Seconds_Behind_Master from SHOW SLAVE STATUS. It's going into 4.1 2004-12-16 18:12:22 +01:00
spatial.cc Fix for bug #6117 (Centroid() crashes server) 2004-10-22 20:32:02 +05:00
spatial.h Fix compiler warnings (detected by Intel's C++ compiler) 2004-10-22 18:44:51 +03:00
sql_acl.cc Merge mysql.com:/home/jimw/my/mysql-4.1-8471 2005-02-17 13:53:07 -08:00
sql_acl.h fixes/cleanups according to Coverity report 2005-01-24 15:48:25 +01:00
sql_analyse.cc fixes/cleanups according to Coverity report 2005-01-24 15:48:25 +01:00
sql_analyse.h
sql_base.cc Merge mysql.com:/home/jimw/my/mysql-4.1-8355 2005-02-17 13:48:34 -08:00
sql_bitmap.h Made my_snprintf() behavior snprintf() compatible when printing %x arguments (it should 2004-05-27 17:54:40 +04:00
sql_cache.cc Merge hundin.mysql.fi:/home/heikki/mysql-4.0 2005-02-13 21:05:18 +02:00
sql_cache.h Merge with 4.0 2004-10-27 19:52:41 +03:00
sql_class.cc Fix signatures of placement operator delete in places where placement 2005-02-15 03:55:44 +03:00
sql_class.h Fix for BUG#8218: 2005-02-12 22:58:54 +03:00
sql_client.cc
sql_crypt.cc
sql_crypt.h
sql_db.cc fixes/cleanups according to Coverity report 2005-01-24 15:48:25 +01:00
sql_delete.cc Manual merge 2005-02-15 21:03:17 -08:00
sql_derived.cc Fix for bug #6765 "Implicit access to time zone description 2004-12-09 13:31:46 +03:00
sql_do.cc Fix for bug #6765 "Implicit access to time zone description 2004-12-09 13:31:46 +03:00
sql_error.cc Simpler arena swapping code 2004-11-08 01:13:54 +02:00
sql_handler.cc * Added comments and one assert 2004-12-14 03:36:19 +03:00
sql_help.cc * Added comments and one assert 2004-12-14 03:36:19 +03:00
sql_insert.cc Fix for failing INSERT IGNORE in test ndb_insert 2005-01-25 15:08:51 +01:00
sql_lex.cc Fix error in parsing string literals containing a backslash followed 2005-02-03 16:07:32 -08:00
sql_lex.h Fix signatures of placement operator delete in places where placement 2005-02-15 03:55:44 +03:00
sql_list.cc
sql_list.h Fix signatures of placement operator delete in places where placement 2005-02-15 03:55:44 +03:00
sql_load.cc Remove DUP_IGNORE from enum_duplicates and instead use a separate ignore flag 2004-12-31 12:04:35 +02:00
sql_manager.cc
sql_manager.h
sql_map.cc
sql_map.h
sql_olap.cc false/true -> FALSE/TRUE 2004-03-30 02:32:41 +03:00
sql_parse.cc Fix -ansi -pedantic compilation failure. 2005-02-21 17:27:36 +03:00
sql_prepare.cc Fix bug in INSERT DELAYED with prepared statements 2005-01-14 00:09:15 +02:00
sql_rename.cc Bug#6391 (binlog-do-db rules ignored) 2004-12-03 12:13:51 +01:00
sql_repl.cc Remove DUP_IGNORE from enum_duplicates and instead use a separate ignore flag 2004-12-31 12:04:35 +02:00
sql_repl.h Remove DUP_IGNORE from enum_duplicates and instead use a separate ignore flag 2004-12-31 12:04:35 +02:00
sql_select.cc item.h: 2005-02-16 22:51:32 -08:00
sql_select.h Simpler arena swapping code 2004-11-08 01:13:54 +02:00
sql_show.cc Merge mysql.com:/home/timka/mysql/src/4.1-bug-4285 2005-01-21 16:47:51 +02:00
sql_sort.h
sql_state.c
sql_string.cc fix call of string::copy() if HAVE_FCONVERT is set 2004-11-01 14:43:53 +00:00
sql_string.h Fix signatures of placement operator delete in places where placement 2005-02-15 03:55:44 +03:00
sql_table.cc Fixed during review of new pulled code 2005-02-02 20:28:01 +02:00
sql_test.cc WL#1700 - Properly count key_blocks_used and key_blocks_current. 2004-05-03 15:55:21 +02:00
sql_udf.cc sql_print_error cleanup 2004-09-04 20:17:09 +02:00
sql_udf.h A fix (bug #6441: Aggregate UDF in multi-table query crashes MySQL when returning multiple rows). 2004-11-06 09:37:30 +04:00
sql_union.cc A fix: bug#6931: Date Type column problem when using UNION-Table 2005-02-04 15:31:36 +03:00
sql_update.cc Merge from 4.0 2005-02-18 14:19:08 +01:00
sql_yacc.yy Merge from 4.0 2005-02-18 14:19:08 +01:00
stacktrace.c Merge with 4.0 for 4.1 release 2004-10-06 19:14:33 +03:00
stacktrace.h
strfunc.cc - Housekeeping: removed a few unreferenced variables, noticed while doing 2005-01-11 15:38:03 +01:00
structs.h Fix for bug#5138: hash indexes on heap tables support statistics. 2004-09-08 02:07:53 +04:00
table.cc Manual merge 2005-02-11 10:44:03 -08:00
table.h Fix for BUG#5837 merged from 4.0 2004-12-11 15:55:50 +03:00
thr_malloc.cc Simpler arena swapping code 2004-11-08 01:13:54 +02:00
time.cc Fix for bug #7297 "Two digit year should be interpreted correctly 2004-12-16 16:31:50 +03:00
tzfile.h WL#1264 "Per-thread time zone support infrastructure". 2004-06-18 10:11:31 +04:00
tztime.cc Merge bk-internal.mysql.com:/home/bk/mysql-4.1 2005-01-28 09:32:43 +03:00
tztime.h Fix for bug #6765 "Implicit access to time zone description 2004-12-09 13:31:46 +03:00
udf_example.cc Ensure that we free memory used with --order-by-primary (in mysqldump) 2004-12-09 12:47:20 +02:00
uniques.cc
unireg.cc Bug#7302: UCS2 data in ENUM field get truncated when new column is added 2004-12-21 17:12:27 +04:00
unireg.h Fixed bug in HAVING when refering to RAND() through alias 2005-02-07 18:13:57 +02:00
watchdog_mysqld