Commit graph

487 commits

Author SHA1 Message Date
pem@mysql.comhem.se
4043c0f3db Implemented the stored procedure data access characteristics:
NO SQL
CONTAINS SQL (default)
READS SQL DATA
MODIFIES SQL DATA

These are needed as hints for the replication.
(Before this, we did have the default in the mysql.proc table, but no support in the parser.)
2004-10-14 18:07:09 +02:00
monty@mishka.local
be4ca46fbe More fixes for strict mode:
More tests.
Better error messages.
Fixed bug when checking if we updated all needed columns for INSERT.
Give an error if we encounter a wrong float value during parsing.
Don't print DEFAULT for columns without a default value in SHOW CREATE/SHOW FIELDS.
Fixed UPDATE IGNORE when using STRICT mode.
2004-10-02 22:20:08 +03:00
bell@sanja.is.com.ua
3c239d0bec fixed privilege system upgrade script, to allow VIEW privileges for used who have CREATE privilege (BUG#5329) 2004-09-11 18:46:06 +03:00
monty@mysql.com
31122efde7 Merge with 4.1
(Includes merge of arena code in 4.1 and 5.0)
2004-09-06 15:14:10 +03:00
monty@mysql.com
9d8555c0f0 Merge with 4.0 to get latest bug fixes 2004-09-04 15:59:49 +03:00
serg@serg.mylan
9153fd2ae4 merged 2004-09-03 22:12:27 +02:00
serg@serg.mylan
e66d0fa7d8 add engine=MyISAM to all create table statements in
mysql_create_system_tables, just in case
2004-09-03 17:20:00 +02:00
bar@mysql.com
f37df2fdcc Bug#4338 mysql-test-run fails if compiled with non-latin1 character set 2004-09-02 12:34:27 +05:00
patg@krsna.patg.net
54eac3b8d4 Merge pgalbraith@bk-internal.mysql.com:/home/bk/mysql-4.0
into krsna.patg.net:/home/patg/mysql-4.0
2004-08-31 19:04:07 -07:00
patg@krsna.patg.net
e277145911 mysqld_safe.sh:
bug #5001, added conditional if to test if port set, then only kill the processes
  for this port, not all processes (in the case of this bug where multiple servers 
  are killed.)
  The change to the 'grep' to make sure mysqld_safe isn't killed was per Serg's
  discovery that mysqld_safe would get killed. 
  In my testing, in killing one of the pids for a running server, the "if test ! -f $pid_file"
  was the case that evaluated as true, so in order to test, I had to comment that block
  out.
2004-08-31 18:59:41 -07:00
bar@mysql.com
521643c85a Bu#4526 building with utf8_bin collation causes help to be case sensitive 2004-08-27 21:12:53 +05:00
serg@serg.mylan
e1237cbc53 manually merged 2004-08-18 19:57:55 +02:00
serg@serg.mylan
3c963455c1 Merge bk-internal:/home/bk/mysql-4.0/
into serg.mylan:/usr/home/serg/Abk/mysql-4.0
2004-08-10 16:36:11 +02:00
serg@serg.mylan
b49b5e9c68 disable safe-updates for mysql_fix_privilege_tables 2004-08-10 16:34:29 +02:00
dlenev@brandersnatch.localdomain
f49d4f5350 Fix for bug #4508 "CONVERT_TZ() function with new time zone as param crashes server".
Instead of trying to open time zone tables during calculation of CONVERT_TZ() function
or setting of @@time_zone variable we should open and lock them with the rest of 
statement's table (so we should add them to global table list) and after that use such 
pre-opened tables for loading info about time zones.
2004-08-10 12:42:31 +04:00
lenz@mysql.com
1097805cf2 - rename: EXCEPTIONS->EXCEPTIONS-CLIENT 2004-08-05 17:05:11 +02:00
lenz@mysql.com
26f0fdd5e8 - More changes to include the FLOSS License Exception in the
various distributions
2004-08-05 11:22:02 +02:00
lenz@mysql.com
e5cb60dcaa - applied the required changes to create the FOSS License exception
file "EXCEPTIONS" and include it in the source and binary 
   distributions
2004-08-05 01:54:04 +02:00
serg@serg.mylan
0d0a50ce6a language fix 2004-07-29 23:33:23 +02:00
lenz@mysql.com
0b8fd9d66d - match shared library file name suffixes on Mac OS X (.dylib)
and HP-UX (.sl) for creating "mysql-shared" packages there
2004-07-23 12:44:09 +02:00
serg@serg.mylan
8d080cbcfa manual merge 2004-07-20 15:34:57 +02:00
paul@ice.snake.net
849de1e629 mysql_fix_privilege_tables.sql:
Fix the other typo, too. :-)
2004-07-18 22:16:42 -05:00
paul@ice.snake.net
d74b122fd9 mysql_fix_privilege_tables.sql:
Fix typo in comments.
2004-07-18 22:11:47 -05:00
bell@sanja.is.com.ua
166a9ab465 changes in system db creation procedure for view privileges 2004-07-16 12:25:26 +03:00
bell@sanja.is.com.ua
9336d36cf8 VIEW
two TABLE_LIST copy eliminated
2004-07-16 01:15:55 +03:00
lenz@mysql.com
20389c1e9a Merge mysql.com:/space/my/mysql-4.1
into mysql.com:/space/my/mysql-4.1-build
2004-07-15 21:19:16 +02:00
lenz@mysql.com
fe2425b725 - Avoid the error message "Can't read index header from..."
when copying a small index file because the value returned
   for $length is < 1024. This can happen if the filehandle
   was open()ed as an UTF-8 encoded file with Unicode characters
   (In this case read() returns characters not bytes)
   (Thanks to Mike Bethune) for this hint)
2004-07-15 21:18:31 +02:00
monty@mysql.com
5b3c418b48 After merge fixes
Note: The following tests fails
- fulltext (Sergei has promised to fix)
- rpl_charset (Guilhem should fix)
- rpl_timezone (Dimitray has promised to fix)

Sanja needs to check out the calling of close_thread_tables() in sp_head.cc
2004-07-15 04:19:07 +03:00
paul@kite-hub.kitebird.com
791bdf2c48 mysql_fix_privilege_tables.sh:
Language fixups.
2004-07-14 11:33:00 -05:00
monty@mysql.com
31fe2837f9 Merge with 4.1 2004-07-12 08:20:24 +03:00
monty@mysql.com
56d5e56cc6 Merge 2004-07-11 12:16:25 +03:00
serg@serg.mylan
8064f06562 mysqlhotcopy:
fix MYI copying with scp
  safer tempfile creation
2004-07-09 14:30:51 +02:00
monty@mysql.com
1e31199995 Merge with 4.1.3-beta 2004-07-07 11:29:39 +03:00
serg@serg.mylan
021242bc6c mysql_fix_privilege_tables.sh:
various fixes (for mysql-test-run at least):
  * accept --no-defaults
  * 4.0 compatible password handling (only it no other argumensts, only if doesn't start with --)
ps_3innodb.test:
  only run ps_3innodb.test if innodb is present
mysql-test-run.sh:
  it's --verbose, not --verbose=1
2004-07-06 16:29:26 +02:00
paul@kite-hub.kitebird.com
f1218f982a Message/comment touchup. 2004-06-28 11:26:54 -05:00
guilhem@mysql.com
00394f591e Merge gbichot@213.136.52.20:/home/bk/mysql-4.1
into mysql.com:/home/mysql_src/mysql-4.1-874
2004-06-28 15:39:04 +02:00
guilhem@mysql.com
ba22a7aaa9 Fix for BUG#4240 "mysql_fix_privilege_tables Does not use --password properly"
Pass password if it is NOT empty. Typo fixed.
2004-06-28 15:37:42 +02:00
monty@mysql.com
380ff9c228 Fix to be able to cross-compile for modesto 2004-06-27 18:20:06 +03:00
monty@mysql.com
137b8517c4 Cleanup for creating windows source distribution 2004-06-26 10:57:00 +03:00
patg@krsna.patg.net
6fa7e370f9 make_win_src_distribution.sh:
4.1 tree must use installshield project files due to new tables
2004-06-25 19:25:36 -07:00
patg@krsna.patg.net
a65f2afbae mysql_create_system_tables.sh:
fix to user table during make_win_src_distribution
2004-06-25 19:11:46 -07:00
monty@mysql.com
b1d08ba2b4 Merge with 4.0 to get the latest bug patches to 4.1 2004-06-25 20:13:05 +03:00
monty@mysql.com
b878240940 Add missing .cnf files to windows installation (Bug #4216) 2004-06-25 18:54:43 +03:00
monty@mysql.com
f6765146c1 Added missing root user to mysql.user on windows. (Bug #4242)
Set default max_allowed_packet to be able to read help tables even if an my.cnf file with this option is present. (Bug #3938)
Don't use default arguments for ha_rnd_init()
Simple code cleanups since last pull
2004-06-25 18:49:36 +03:00
ram@gw.mysql.r18.ru
fe3bb82b2b Changed a comment. 2004-06-25 15:26:50 +05:00
ram@gw.mysql.r18.ru
65fe5e7289 a fix (bug #4241: system_mysql_db_fix.test fails) 2004-06-25 15:09:26 +05:00
lenz@mysql.com
edb9af25bc - added mysql_tzinfo_to_sql to binary distributions 2004-06-24 09:22:45 +02:00
monty@mysql.com
ad86016e2f lower_case_table_names=2 (Keep case for table names) was not honored
with ALTER TABLE and CREATE/DROP INDEX. (Bug #3109)
Make net_buffer_length visible for mysql clients (Bug #4206)
2004-06-23 16:44:34 +03:00
monty@mysql.com
d69a36d118 merge 2004-06-21 10:24:40 +03:00
dlenev@brandersnatch.localdomain
09ba29e539 WL#1264 "Per-thread time zone support infrastructure".
Added basic per-thread time zone functionality (based on public
domain elsie-code). Now user can select current time zone
(from the list of time zones described in system tables).
All NOW-like functions honor this time zone, values of TIMESTAMP
type are interpreted as values in this time zone, so now
our TIMESTAMP type behaves similar to Oracle's TIMESTAMP WITH
LOCAL TIME ZONE (or proper PostgresSQL type).
  
WL#1266 "CONVERT_TZ() - basic time with time zone conversion 
function".
  
Fixed problems described in Bug #2336 (Different number of warnings 
when inserting bad datetime as string or as number). This required
reworking of datetime realted warning hadling (they now generated 
at Field object level not in conversion functions).
  
Optimization: Now Field class descendants use table->in_use member
instead of current_thd macro.
2004-06-18 10:11:31 +04:00