Commit graph

3278 commits

Author SHA1 Message Date
unknown
0da0ce9312 URGENT fixed bug in shared memory (handler_count)
sql/mysqld.cc:
  fixed bug in shared memory
BitKeeper/etc/logging_ok:
  Logging to logging@openlogging.org accepted
2003-03-02 19:35:37 +05:00
unknown
1019053392 New error message for situation like:
SELECT latin1_expr COLLATE anpther_charset_collation
2003-03-02 14:05:03 +04:00
unknown
0d19df2f5d Replication: give the slave I/O thread a higher priority than the slave SQL thread
so that it has fetched the most from the master's binlog before the master
accidently dies. SCRUM task #756.


sql/slave.cc:
  Replication: give the slave I/O thread a higher priority than the slave SQL thread
  so that it has fetched the most from the master's binlog before the master
  accidently dies.
sql/slave.h:
  Replication: give the slave I/O thread a higher priority than the slave SQL thread
  so that it has fetched the most from the master's binlog before the master
  accidently dies.
2003-03-01 23:59:27 +01:00
unknown
67b5eb7fa0 Merge work:/home/bk/mysql-4.1
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.1


BitKeeper/etc/ignore:
  auto-union
sql/sql_select.cc:
  Auto merged
2003-03-01 14:18:55 +01:00
unknown
77f8757a5e Added GeometryFromText, MultiPointFromText aliases.
Added GeometryCollection type.
2003-02-28 21:17:08 +04:00
unknown
da29142e84 item_func.cc:
Fix for coercibility of function


sql/item_func.cc:
  Fix for coercibility of function
2003-02-28 20:56:18 +04:00
unknown
26231c2363 item_strfunc.cc:
Charset conversion function changes coercibility to IMPLICIT


sql/item_strfunc.cc:
  Charset conversion function changes coercibility to IMPLICIT
2003-02-28 20:25:25 +04:00
unknown
882aed0d0b sql_yacc.yy:
_charset cast changes coercibility to implicit
item_strfunc.cc:
  Collation cast change coercibility to EXPLICIT


sql/item_strfunc.cc:
  Collation cast change coercibility to EXPLICIT
sql/sql_yacc.yy:
  _charset cast changes coercibility to implicit
2003-02-28 20:20:24 +04:00
unknown
1a2c7c18a1 Many files:
Coercibility, initial stage
item_func.h:
  Coercibility, initial stage


sql/item_func.h:
  Coercibility, initial stage
sql/item.cc:
   Coercibility, initial stage
sql/item_create.cc:
   Coercibility, initial stage
sql/item_create.h:
   Coercibility, initial stage
sql/item.h:
   Coercibility, initial stage
sql/item_func.cc:
   Coercibility, initial stage
sql/lex.h:
   Coercibility, initial stage
sql/sql_yacc.yy:
   Coercibility, initial stage
2003-02-28 19:22:20 +04:00
unknown
d9965d3174 Merge work:/my/mysql-4.1 into narttu.mysql.fi:/my/mysql-4.1 2003-02-28 14:33:10 +02:00
unknown
21a32d758e Merge with 3.23 -> 4.0
configure.in:
  Auto merged
include/config-win.h:
  Auto merged
include/thr_lock.h:
  Auto merged
mysql-test/Makefile.am:
  Auto merged
sql/repl_failsafe.cc:
  Auto merged
sql/slave.cc:
  Auto merged
sql/sql_class.cc:
  Auto merged
sql/sql_insert.cc:
  Auto merged
sql/sql_show.cc:
  Auto merged
sql/log_event.cc:
  merge
sql/mysqld.cc:
  merge
2003-02-28 13:29:48 +02:00
unknown
b5c467786e func_group.result:
Added new tests for better coverage of
  min/max optimization code.
func_group.test:
  Added new tests for better coverage of 
  min/max optimization code.
opt_sum.cc:
  Fixed wrong previous manual merge.
  Fixed bugs concerning fields used in min/max
  functions for which there are conditions of
  the form field=const.


sql/opt_sum.cc:
  Fixed wrong previous manual merge.
  Fixed bugs concerning fields used in min/max
  functions for which there are conditions of
  the form field=const.
mysql-test/t/func_group.test:
  Added new test for better coverage of 
  min/max optimization code.
mysql-test/r/func_group.result:
  Added new tests for better coverage of
  min/max optimization code.
2003-02-28 08:53:54 +02:00
unknown
e6dad70436 Added detection if pthread_attr_getstacksize() exists
Fixed bug in RAND() usage in mysqlbinlog


configure.in:
  Added detection if pthread_attr_getstacksize() exists
include/thr_lock.h:
  Fixed wrong comment
sql/log_event.cc:
  Fixed bug in RAND() usage in mysqlbinlog
sql/mysqld.cc:
  Portablity fix
sql/repl_failsafe.cc:
  Set host_or_ip for system threads (to make other code simpler)
sql/slave.cc:
  Set host_or_ip for system threads (to make other code simpler)
sql/sql_class.cc:
  Set host_or_ip for system threads (to make other code simpler)
sql/sql_insert.cc:
  Set host_or_ip for system threads (to make other code simpler)
sql/sql_show.cc:
  Set host_or_ip for system threads (to make other code simpler)
2003-02-27 17:35:51 +02:00
unknown
c00be6a648 sql_yacc.yy:
set names binary  didn't work
  ,


sql/sql_yacc.yy:
  set names binary  didn't work
  ,
2003-02-27 17:45:40 +04:00
unknown
f047e28068 sql_yacc.yy, item_strfunc.cc:
Two separate functions charset() and collatio()
item_strfunc.h:
  Two separate functions charset() and collation()


sql/item_strfunc.cc:
  Two separate functions charset() and collatio()
sql/item_strfunc.h:
  Two separate functions charset() and collation()
sql/sql_yacc.yy:
  Two separate functions charset() and collatio()
2003-02-27 16:53:10 +04:00
unknown
4d1cb030db fixed bug on case insensetive file systems 2003-02-27 12:45:00 +02:00
unknown
98e8d472cf Merge ibabaev@work.mysql.com:/home/bk/mysql-4.1
into hundin.mysql.fi:/home/igor/dev/mysql-4.1
2003-02-27 11:03:38 +02:00
unknown
14231ff5d5 field.cc:
Now all text fields convert data into proper charset before storing


sql/field.cc:
  Now all text fields convert data into proper charset before storing
2003-02-27 12:10:41 +04:00
unknown
593b2fc238 Merge ibabaev@work.mysql.com:/home/bk/mysql-4.1
into hundin.mysql.fi:/home/igor/dev/mysql-4.1
2003-02-27 10:02:36 +02:00
unknown
c015eb9cf8 func_group.result, func_group.test:
Added tests for extended max/min optimization
opt_sum.cc:
  Extended min/max optimization


sql/opt_sum.cc:
  Extended min/max optimization
mysql-test/t/func_group.test:
  Added tests for extended max/min optimization
mysql-test/r/func_group.result:
  Added tests for extended max/min optimization
2003-02-27 10:01:50 +02:00
unknown
e3b22fbbe2 field.cc:
rename len -> length, to look in common style


sql/field.cc:
  rename len -> length, to look in common style
2003-02-27 11:44:45 +04:00
unknown
ea058779c1 Merge work:/my/mysql-4.1 into narttu.mysql.fi:/my/mysql-4.1
sql/item_func.cc:
  Auto merged
sql/lex.h:
  Auto merged
sql/sql_show.cc:
  Auto merged
2003-02-27 04:07:29 +02:00
unknown
e943ca1fc3 Merge with 4.0
mysql-test/r/bigint.result:
  Auto merged
mysql-test/t/bigint.test:
  Auto merged
sql/ha_innodb.cc:
  Auto merged
sql/sql_lex.cc:
  Auto merged
sql/sql_load.cc:
  Auto merged
sql/item.h:
  merge (use local copy)
sql/sql_show.cc:
  merge
2003-02-27 03:49:26 +02:00
unknown
669cbe6e5f Portability fixes
Don't define crc32 if we are not linking with gzip


cmd-line-utils/libedit/libedit_term.h:
  Rename: cmd-line-utils/libedit/term.h -> cmd-line-utils/libedit/libedit_term.h
BitKeeper/etc/ignore:
  added scripts/make_win_src_distribution
client/connect_test.c:
  Removed wrong include file
  (my_global.h should never be included by an external client)
client/insert_test.c:
  Removed wrong include file
  (my_global.h should never be included by an external client)
client/select_test.c:
  Removed wrong include file
  (my_global.h should never be included by an external client)
cmd-line-utils/libedit/Makefile.am:
  Portability fixes (for HPUX11 and AIX)
cmd-line-utils/libedit/el.h:
  Portability fixes (for HPUX11 and AIX)
cmd-line-utils/libedit/key.h:
  Portability fixes (for HPUX11 and AIX)
cmd-line-utils/libedit/makelist:
  Portability fixes (for HPUX11 and AIX)
cmd-line-utils/libedit/read.c:
  Portability fixes (for HPUX11 and AIX)
cmd-line-utils/libedit/readline.c:
  Portability fixes (for HPUX11 and AIX)
cmd-line-utils/libedit/readline/readline.h:
  Systems that has sys/cdefs may not have __BEGIN_DECLS
cmd-line-utils/libedit/sig.c:
  sig_t is not portable
cmd-line-utils/libedit/sig.h:
  sig_t is not portable
cmd-line-utils/libedit/term.c:
  Portablity fixes
  Fixed core dump when using a terminal without arrow key definitions
heap/_check.c:
  Portability fix
heap/hp_hash.c:
  Portability fix
heap/hp_rkey.c:
  Portability fix
include/my_global.h:
  Portability fixes for HPUX11
libmysql/libmysql.c:
  Removed wrong cast
mysql-test/r/union.result:
  New union tests
mysql-test/t/union.test:
  New union tests
sql/gen_lex_hash.cc:
  Fixed portability bug.
sql/gstream.h:
  Portablity fix
sql/item_create.cc:
  Don't define crc32 if we are not linking with gzip
sql/item_create.h:
  Don't define crc32 if we are not linking with gzip
sql/item_func.cc:
  Don't define crc32 if we are not linking with gzip
sql/item_func.h:
  Don't define crc32 if we are not linking with gzip
sql/lex.h:
  Don't define crc32 if we are not linking with gzip
sql/sql_show.cc:
  Name can't be NULL
2003-02-27 03:44:44 +02:00
unknown
3f9ea80268 Integer values between 9223372036854775807 and 9999999999999999999 are now
regarded as unsigned longlongss, not as floats. This make these values work
similar to values between 10000000000000000000 and 18446744073709551615.


mysql-test/r/bigint.result:
  Fixed results for bigints
mysql-test/t/bigint.test:
  Fixed results for bigints
sql/item.h:
  Mark unsigned big ints as unsigned
sql/sql_lex.cc:
  Returns numbers between 9223372036854775807 and 9999999999999999999 as unsigned 64 bit numbers
2003-02-27 02:10:19 +02:00
unknown
66afa06553 Code cleanup 2003-02-27 00:06:09 +02:00
unknown
f407dbd272 Merge work:/my/mysql-4.0 into narttu.mysql.fi:/my/mysql-4.0 2003-02-26 23:36:23 +02:00
unknown
8c3efbc32a Merge narttu.mysql.fi:/my/mysql-3.23 into narttu.mysql.fi:/my/mysql-4.0
sql/sql_show.cc:
  Auto merged
2003-02-26 23:35:58 +02:00
unknown
2eab6ae62f Minor changes from 4.0->4.1 by Novell (Rob Lyon)
netware/mw/mwenv:
  MW environment for 4.1 (add zlib dir, change path)
netware/nwconfigure:
  with-extra-charsets changed to latin1_de
sql/mysqld.cc:
  Removed duplicate call to pthread_exit(0)
2003-02-26 13:43:54 -05:00
unknown
bdc655d969 ha_innodb.cc:
Remove DEBUG_ASSERT if MySQL internally names a UNIQUE index as the PRIMARY KEY, but inside InnoDB there is no primary key for the table


sql/ha_innodb.cc:
  Remove DEBUG_ASSERT if MySQL internally names a UNIQUE index as the PRIMARY KEY, but inside InnoDB there is no primary key for the table
2003-02-26 19:52:31 +02:00
unknown
7edb0687c7 ha_innodb.cc:
Add docs to store_lock()


sql/ha_innodb.cc:
  Add docs to store_lock()
2003-02-26 19:31:05 +02:00
unknown
9b7ebb928c All segments of SPATIAL keys MUST be NOT NULL.
Allow NULL geometry fields.


include/mysqld_error.h:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/czech/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/danish/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/dutch/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/english/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/estonian/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/french/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/german/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/greek/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/hungarian/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/italian/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/japanese/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/korean/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/norwegian-ny/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/norwegian/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/polish/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/portuguese/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/romanian/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/russian/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/serbian/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/slovak/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/spanish/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/swedish/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
sql/share/ukrainian/errmsg.txt:
  new error message: "All parts of a SPATIAL KEY must be NOT NULL"
2003-02-26 20:25:48 +04:00
unknown
29a99fa0be Merge rkalimullin@work.mysql.com:/home/bk/mysql-4.1
into mysql.r18.ru:/usr/home/ram/work/mysql-4.1


sql/spatial.cc:
  Auto merged
2003-02-26 19:23:11 +04:00
unknown
d2b0d3fa88 Added num_geometries() and geometry_n() methods for MultiX geometry objects. 2003-02-26 19:13:01 +04:00
unknown
c976968d1d Merge sinisa@work.mysql.com://home/bk/mysql-4.0
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2003-02-26 15:33:20 +02:00
unknown
8300158d76 A fix for a crashing bug with unspecified database in this type of
command:

load  data infile 'filename' into table db.table;
2003-02-26 15:28:28 +02:00
unknown
e0100ed886 sql_yacc.yy, lex.h:
SET NAMES is now working


sql/lex.h:
  SET NAMES is now working
sql/sql_yacc.yy:
  SET NAMES is now working
2003-02-26 17:02:36 +04:00
unknown
61bd855623 set_var.cc, set_var.h:
New thread variable client_character_set


sql/set_var.h:
  New thread variable client_character_set
sql/set_var.cc:
  New thread variable client_character_set
2003-02-26 16:37:41 +04:00
unknown
c5f5575579 error message fixed
BitKeeper/etc/ignore:
  Added scripts/make_win_src_distribution to the ignore list
2003-02-26 13:23:45 +01:00
unknown
2667f61b76 sql_show.cc:
Less default_charset_info


sql/sql_show.cc:
  Less default_charset_info
2003-02-26 14:54:57 +04:00
unknown
605ddcebc2 sql_class.h:
New method to simplify access to thd charset


sql/sql_class.h:
  New method to simplify access to thd charset
2003-02-26 14:50:59 +04:00
unknown
3ba2916b24 sql_test.cc:
Less default_charset_info


sql/sql_test.cc:
  Less default_charset_info
2003-02-26 14:30:39 +04:00
unknown
5bc80ff890 sql_udf.cc, protocol.cc:
Less default_charset_info


sql/protocol.cc:
  Less default_charset_info
sql/sql_udf.cc:
  Less default_charset_info
2003-02-26 14:08:31 +04:00
unknown
6d53503087 set_var.cc, sql_table.cc, handler.cc, field.cc:
Less default_charset_info


sql/field.cc:
  Less default_charset_info
sql/handler.cc:
  Less default_charset_info
sql/sql_table.cc:
  Less default_charset_info
sql/set_var.cc:
  Less default_charset_info
2003-02-26 13:34:35 +04:00
unknown
8a7d862c91 sql_analyse.cc, spatial.cc:
Some default_charset_info were removed
sql_select.cc:
  Some default_charset_info were removed.


sql/spatial.cc:
  Some default_charset_info were removed
sql/sql_select.cc:
  Some default_charset_info were removed.
sql/sql_analyse.cc:
  Some default_charset_info were removed
2003-02-26 13:16:02 +04:00
unknown
12749eaf87 item_func.cc:
Some reoganization
  Fixed that binary arguments do not affect result charset
  anymore
  For example, the second argument doesn't affect charset of result in LEFT(string,10)
sql_string.h:
  Strings are binary by default now


sql/sql_string.h:
  Strings are binary by default now
sql/item_func.cc:
  Some reoganization
  Fixed that binary arguments do not affect result charset
  anymore
  For example, the second argument doesn't affect charset of result in LEFT(string,10)
2003-02-26 12:29:17 +04:00
unknown
23a850e5a6 Fix for SHOW TABLE STATUS with empty .frm file 2003-02-26 10:16:50 +02:00
unknown
85d6d3d8ec Comment column in SHOW TABLE STATUS now reports that it can
contain NULL values (which is the case for a crashed .frm file).
2003-02-26 09:52:19 +02:00
unknown
99effd31fa item_sum.cc:
Fixed that MIN() didn't return proper charset for CREATE from SELECT


sql/item_sum.cc:
  Fixed that MIN() didn't return proper charset for CREATE from SELECT
2003-02-26 11:00:36 +04:00
unknown
e618de1764 Merge abarkov@work.mysql.com:/home/bk/mysql-4.1
into bar.mysql.r18.ru:/usr/home/bar/mysql-4.1
2003-02-26 10:47:34 +04:00