Commit graph

3296 commits

Author SHA1 Message Date
ram@mysql.r18.ru
368347685d Merge rkalimullin@work.mysql.com:/home/bk/mysql-4.1
into mysql.r18.ru:/usr/home/ram/work/mysql-4.1
2003-02-26 19:23:11 +04:00
ram@mysql.r18.ru
bde2b51f54 Added num_geometries() and geometry_n() methods for MultiX geometry objects. 2003-02-26 19:13:01 +04:00
Sinisa@sinisa.nasamreza.org
1d09675c64 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
Sinisa@sinisa.nasamreza.org
571fc250ff 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
bar@bar.mysql.r18.ru
d698b5bf19 sql_yacc.yy, lex.h:
SET NAMES is now working
2003-02-26 17:02:36 +04:00
bar@bar.mysql.r18.ru
ace0eac6a6 set_var.cc, set_var.h:
New thread variable client_character_set
2003-02-26 16:37:41 +04:00
serg@serg.mysql.com
5a55ee391c error message fixed 2003-02-26 13:23:45 +01:00
bar@bar.mysql.r18.ru
b1b00be034 sql_show.cc:
Less default_charset_info
2003-02-26 14:54:57 +04:00
bar@bar.mysql.r18.ru
2be430da8e sql_class.h:
New method to simplify access to thd charset
2003-02-26 14:50:59 +04:00
bar@bar.mysql.r18.ru
7e700e3374 sql_test.cc:
Less default_charset_info
2003-02-26 14:30:39 +04:00
bar@bar.mysql.r18.ru
4e1cc32318 sql_udf.cc, protocol.cc:
Less default_charset_info
2003-02-26 14:08:31 +04:00
bar@bar.mysql.r18.ru
e3579917da set_var.cc, sql_table.cc, handler.cc, field.cc:
Less default_charset_info
2003-02-26 13:34:35 +04:00
bar@bar.mysql.r18.ru
1a2c7da8db sql_analyse.cc, spatial.cc:
Some default_charset_info were removed
sql_select.cc:
  Some default_charset_info were removed.
2003-02-26 13:16:02 +04:00
bar@bar.mysql.r18.ru
d134e6f2e7 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
2003-02-26 12:29:17 +04:00
monty@narttu.mysql.fi
8df5705434 Fix for SHOW TABLE STATUS with empty .frm file 2003-02-26 10:16:50 +02:00
monty@narttu.mysql.fi
20f7ea5c7a 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
bar@bar.mysql.r18.ru
c813cc692a item_sum.cc:
Fixed that MIN() didn't return proper charset for CREATE from SELECT
2003-02-26 11:00:36 +04:00
bar@bar.mysql.r18.ru
5ede4696d0 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
bar@bar.mysql.r18.ru
850768e741 Fix for MIX and MAX. Item must be checked against binary(). 2003-02-26 10:33:45 +04:00
monty@narttu.mysql.fi
9a46698e1e Merge with 4.0.11 2003-02-26 01:03:47 +02:00
monty@narttu.mysql.fi
326b8abc89 merge with 3.23 to get corrected error message files and rename of files in mysql-test 2003-02-26 00:22:35 +02:00
monty@narttu.mysql.fi
b4fbb06ad8 Portability fix for HPUX10.20 2003-02-25 21:43:24 +02:00
monty@mashka.mysql.fi
9812831194 Fixed "syntax" errors in text message files.
Ensured that all errors messages ends with: ",
2003-02-25 13:41:08 +02:00
monty@mashka.mysql.fi
4e2df79c36 Indentation cleanup 2003-02-25 11:05:07 +02:00
ram@mysql.r18.ru
f4e1a2f292 Forbid NULL geometry fields 2003-02-25 11:45:32 +04:00
venu@myvenu.com
0ed4b9c0ba Fix for the prepared statement access checks 2003-02-24 17:22:02 -08:00
venu@myvenu.com
245a6f8404 1. Fix for the crash in debug mode when the .frm is corrupted and SHOW TABLE STATUS is executed.This also fixes to return the error message to comment field in SHOW TABLE STATUS when the .frm is corrupted
2. Test for corrupted .frm and the SHOW TABLE STATUS
2003-02-24 17:05:03 -08:00
wax@mysql.com
dd7ecee561 Merge vkishkin@work.mysql.com:/home/bk/mysql-4.1
into mysql.com:/home/wax/mysql-4n
2003-02-24 23:54:58 +05:00
serg@serg.mysql.com
b2eb6eabf1 Merge work:/home/bk/mysql-4.1
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.1
2003-02-24 11:58:31 +01:00
igor@hundin.mysql.fi
726e59827a opt_sum.cc:
Correction for min/max optimization of queries with outer joins
2003-02-23 04:27:03 +02:00
serg@serg.mysql.com
e7715445f3 ALTER TABLE closes all open HANDLER's for the table in question
fixed error handling in HANDLER ... READ FIRST
2003-02-22 18:00:34 +01:00
Sinisa@sinisa.nasamreza.org
8439a4949f merge fix 2003-02-22 17:14:50 +02:00
Sinisa@sinisa.nasamreza.org
bf3dabcce4 Allowing NULL values in UNION's with first SELECT having only NOT NULL
columns.
2003-02-22 17:02:36 +02:00
serg@serg.mysql.com
c954c15a63 do not allow COLUMN and AFTER/FIRST in
ALTER TABLE ... ADD KEY
2003-02-22 01:07:17 +01:00
serg@serg.mysql.com
223cf9f594 make EXPLAIN killable 2003-02-21 17:01:12 +01:00
bar@bar.mysql.r18.ru
7f21fb31b2 DATABASE character set is never blank anymore 2003-02-21 18:24:41 +04:00
venu@myvenu.com
ee2b888696 Windows portabilty fixups (last commit caused some errors, so recomitting) - SCRUM 2003-02-20 14:14:37 -08:00
lenz@mysql.com
2b1f8fbe67 Reverted Sinisa's patch "Fixing the error messages returned on GRANT
commands" again, since this problem had been fixed differently
already (Thanks to Serg for spotting this)
2003-02-19 16:16:27 +01:00
lenz@mysql.com
8a272349b9 Applied Sinisa's patch:
"A fix for non-releasing locks for multi table updates and multi
table deletes with InnoDB tables."
2003-02-19 15:08:29 +01:00
lenz@mysql.com
7a6d8edfd7 Applying Sinisa's patch:
"Cleaning the code of the remaining OLAP code.
This code is unnecessary in 4.1/5.0"
2003-02-19 14:58:44 +01:00
lenz@mysql.com
64b2048914 - Applying Sinisa's Patch "Fixing the error messages returned on
GRANT commands"
2003-02-19 14:50:40 +01:00
wax@mysql.com
45ada60304 add option default-week-format and variable default_week_format
(SCRUM)
2003-02-19 17:05:35 +05:00
ram@mysql.r18.ru
e1428907b2 Merge rkalimullin@work.mysql.com:/home/bk/mysql-4.1
into mysql.r18.ru:/usr/home/ram/work/mysql-4.1
2003-02-19 13:31:40 +04:00
serg@serg.mysql.com
9d633d9a92 Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql 2003-02-19 10:27:15 +01:00
gluh@gluh.mysql.r18.ru
16a2ea9d3e Merge sgluhov@work.mysql.com:/home/bk/mysql-4.1
into gluh.mysql.r18.ru:/home/gluh/mysql-4.1.uvar
2003-02-19 13:22:04 +04:00
ram@mysql.r18.ru
4f5de08278 Bug fix: rtree should handle nulls itself 2003-02-19 13:21:21 +04:00
heikki@hundin.mysql.fi
f749357a21 ha_innodb.cc:
InnoDB maps HA_READ_PREFIX_LAST_OR_PREV to PAGE_CUR_LE, but note that only complete-field prefixes of the kay value can be used as the search key
2003-02-18 20:36:16 +02:00
heikki@hundin.mysql.fi
ed6a85b422 ha_innodb.cc:
Add comment about how to modify InnoDB to deal with partial-field prefixes of key value in the future
2003-02-18 20:07:06 +02:00
heikki@hundin.mysql.fi
e690ea09f7 page0cur.c:
Prepare for 5.x where HA_READ_PREFIX_LAST may pass only a few first bytes of the last field in a key value
ha_innodb.cc:
  In 4.0 always assume HA_READ_PREFIX_LAST passes a complete-field prefix of a key value; LIKE queries use a padding trick
2003-02-18 19:43:41 +02:00
pem@mysql.com
aadf481f49 Made it work with bison 1.875. They've changed the "parse error" string into
"syntax error".
2003-02-18 11:58:19 +01:00
bell@sanja.is.com.ua
d5cd5ea4e7 prevented crash on deleting non-constructed analyse object 2003-02-18 10:18:51 +02:00
bell@sanja.is.com.ua
d7316689fd Merge sanja.is.com.ua:/home/bell/mysql/mysql-3.23
into sanja.is.com.ua:/home/bell/mysql/work-3.23
2003-02-18 09:58:25 +02:00
bell@sanja.is.com.ua
126e085749 Merge abelkin@work.mysql.com:/home/bk/mysql-4.0
into sanja.is.com.ua:/home/bell/mysql/mysql-4.0
2003-02-17 17:11:11 +02:00
gluh@gluh.mysql.r18.ru
ae911ef858 Bug fix: for SHOW STATUS (when ssl is used)
Added ROW_RESULT to switchs(for documentation purposes)
2003-02-17 18:06:51 +04:00
bar@bar.mysql.r18.ru
d0f198ff5d sql_table.cc, field.cc:
Bug fix
opt_range.cc:
  Buf fix
2003-02-17 16:47:48 +04:00
gluh@gluh.mysql.r18.ru
063668c08d Merge gluh@192.168.21.1:/usr/home/bk/mysql-4.1
into gluh.mysql.r18.ru:/home/gluh/mysql-4.1.uvar
2003-02-17 15:07:01 +04:00
monty@mashka.mysql.fi
90bf074438 Merge with 4.0.11 tree to get latest bug fixes 2003-02-17 05:43:37 +02:00
monty@mashka.mysql.fi
6051b2f998 Fixed multi-table-delete for InnoDB tables
Novell patches
2003-02-17 02:14:37 +02:00
monty@mashka.mysql.fi
153cefc61b Merge mashka.mysql.fi:/home/my/mysql-3.23
into mashka.mysql.fi:/home/my/mysql-4.0
2003-02-17 01:07:29 +02:00
monty@mashka.mysql.fi
4c836e8d65 Fixed problem with ISNULL on fields that could not be null 2003-02-17 01:05:04 +02:00
bell@sanja.is.com.ua
6ce8e1e704 fixed excluding st_select_lex from global select list
fixed destroing not well constructed analize object
fixed wrong detection of unions in derived tables
2003-02-16 20:37:51 +02:00
Sinisa@sinisa.nasamreza.org
f2a8927db7 Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
2003-02-15 16:06:58 +02:00
Sinisa@sinisa.nasamreza.org
410cbef6b3 Code clean-up 2003-02-15 16:05:58 +02:00
bell@sanja.is.com.ua
05bbea4b25 fixed invalidation of query cache on LOAD DATA 2003-02-14 22:20:38 +02:00
bell@sanja.is.com.ua
203728ae68 fixed memory leak in ANALIZE initialization error reporting 2003-02-14 17:09:09 +02:00
bell@sanja.is.com.ua
d7b5238b02 fixed memory leak in procedure with subselects 2003-02-14 14:00:19 +02:00
monty@mashka.mysql.fi
7d7a248d9e Merge work:/home/bk/mysql-4.1 into mashka.mysql.fi:/home/my/mysql-4.1 2003-02-14 11:48:20 +02:00
monty@mashka.mysql.fi
acf8993439 Fixed problem when connecting to user without a password.
Fixed problem with LIKE and BINARY
2003-02-14 11:47:41 +02:00
Sinisa@sinisa.nasamreza.org
5acf83802d fix a bug in derived tables
UNION's bug fixes and code clean-up
2003-02-13 17:56:01 +02:00
bar@bar.mysql.r18.ru
32da4054ee item_strfunc.cc:
Fix
2003-02-13 13:10:23 +04:00
bar@bar.mysql.r18.ru
58e00848d1 item_strfunc.cc:
Fix
2003-02-13 11:21:51 +04:00
bar@bar.mysql.r18.ru
93ac639fc9 sql_yacc.yy:
Compilation failure fix
2003-02-13 10:14:35 +04:00
monty@mashka.mysql.fi
3695c64111 Merge work:/home/bk/mysql-4.1 into mashka.mysql.fi:/home/my/mysql-4.1 2003-02-12 23:18:00 +02:00
monty@mashka.mysql.fi
9d000c323a Updated configure script to handle 1 digit numbers in MySQL version
Fixed a few typos from last patch
2003-02-12 23:17:22 +02:00
serg@serg.mysql.com
5137c07ace another fix for RAND() initialization 2003-02-12 21:32:35 +01:00
monty@mashka.mysql.fi
e327393e9d Fixed a lot of wrong memory references as reported by valgrind
Portability fixes
Added new client function: mysql_get_server_version()
New server help code (From Victor Vagin)
Fixed wrong usage of binary()
Disabled RTREE usage for now.
2003-02-12 21:55:37 +02:00
serg@serg.mysql.com
9dd13a9a4a backported MERGE+MAX bugfix from 4.0 2003-02-12 11:03:41 +01:00
serg@serg.mysql.com
92d6bdc1b6 backporting Peter's fix for better RAND() initialization from 4.0 2003-02-11 23:19:47 +01:00
bar@bar.mysql.r18.ru
58d3ad72a8 lex.h:
Typo fix
2003-02-11 16:37:37 +04:00
bar@bar.mysql.r18.ru
9dbf3af990 lex.h:
New synonyms for spatial functions for
  compatibility with http://www.opengis.org/testing/sfsql/sqltsch.sql
2003-02-11 16:03:00 +04:00
bar@bar.mysql.r18.ru
9ce50e8d04 For more OpenGIS compatibility, these symbols are now synomims to GEOMETRY type:
POINT, LINESTRING, POLYGON, MULTIPOINT, MULTIPOLYGON, MULTILINESTRING
2003-02-11 15:39:14 +04:00
monty@mashka.mysql.fi
15aee37456 merge 2003-02-10 18:01:29 +02:00
monty@mashka.mysql.fi
48558055ed Move tmp_table_used to THD
Optimize depending sub querys
Remove valgrind warnings
2003-02-10 17:59:16 +02:00
monty@mashka.mysql.fi
fbc9cd7ee8 Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 2003-02-10 17:07:48 +02:00
monty@mashka.mysql.fi
78e7230e73 Better fix for count(distinct) bug 2003-02-10 17:03:27 +02:00
serg@sergbook.mysql.com
14b4b58de7 Merge sergbook.mysql.com:/usr/home/serg/Abk/mysql
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
2003-02-10 14:56:30 +01:00
serg@sergbook.mysql.com
3cc3ec177f error message fixed (new error code will be introduced in 4.1) 2003-02-10 14:47:39 +01:00
serg@sergbook.mysql.com
cba78f827c count(distint) on an empty table crash fixed 2003-02-10 12:01:47 +01:00
monty@mashka.mysql.fi
aee7346ec1 Merge mashka.mysql.fi:/home/my/mysql-4.0
into mashka.mysql.fi:/home/my/mysql-4.1
2003-02-10 01:21:39 +02:00
monty@mashka.mysql.fi
c0b655aa38 Fixed memory reference error when doing key_column <=> NULL on column that is defined as NOT NULL 2003-02-10 01:21:09 +02:00
monty@mashka.mysql.fi
7abe5e234e merge with 4.0.11 to get fix for thread stack 2003-02-08 01:58:58 +02:00
monty@mashka.mysql.fi
025dde7867 Check how much stack we got; Needed to be able to run crash-me 2003-02-08 01:55:16 +02:00
monty@mashka.mysql.fi
7388c5f161 merge 2003-02-08 01:12:58 +02:00
monty@mashka.mysql.fi
60556efaca Update lengths for fields in MYSQL_FIELD 2003-02-08 01:00:35 +02:00
monty@mashka.mysql.fi
7391bc564f Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 2003-02-07 18:01:08 +02:00
monty@mashka.mysql.fi
1b9b042654 Fix problem in MIN/MAX optimisation (from last patch)
Don't make OLD_PASSWORD() a reserved word
2003-02-07 17:57:07 +02:00
heikki@hundin.mysql.fi
7abed55936 ha_innodb.cc:
Clarify the meaning of HA_READ_PREFIX_LAST as a search flag. InnoDB assumed the meaning wrong.
2003-02-07 17:33:15 +02:00
monty@mashka.mysql.fi
b14b246d38 Merge with 4.0 to get fix for MIN/MAX 2003-02-07 16:38:37 +02:00
monty@mashka.mysql.fi
25de9c19b2 After merge fixes & remove compiler warnings
Added lengths for all MYSQL_FIELD string parameters
Changed field length to 2 byte in .frm files
2003-02-07 15:47:24 +02:00
monty@mashka.mysql.fi
f68914addb Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0 2003-02-07 15:06:23 +02:00