Commit graph

87 commits

Author SHA1 Message Date
monty@mashka.mysql.fi
5d5d5b08ac Merge to get security patch 2003-05-08 00:12:46 +03:00
serg@serg.mylan
30ae0cdcc7 Merge bk-internal:/home/bk/mysql-3.23/
into serg.mylan:/usr/home/serg/Abk/mysql
2003-04-28 20:09:38 +02:00
monty@narttu.mysql.fi
618857b6eb Merge with 3.23 to get fixes for:
mysqldump --delete-master-logs
Portability fix for hammer
Memory overrun for MyISAM
LOAD DATA LOCAL replication bug fix.
2003-04-03 12:33:13 +03:00
greg@mysql.com
67985efed5 Post-4.0.12 changes from Novell: mostly NetWare-related code changes to utilize new LibC 2003-03-21 16:45:39 -05:00
guilhem@mysql.com
45e3de8f32 Do not silently do RESET MASTER when one does 'mysqldump --master-data' ;
only do it if the user specifies --delete-master-logs (new option).
Safer + fixes bug #159.
2003-03-19 15:16:51 +01:00
serg@serg.mysql.com
018a9b7058 crash fix 2003-03-17 19:39:01 +01:00
serg@serg.mysql.com
cc2dda24b6 Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2003-02-18 20:35:57 +01:00
monty@mashka.mysql.fi
a533db746b Patch for novell
Reverted wrong patch for mysqld_safe.sh
2003-02-16 22:50:00 +02:00
serg@serg.mysql.com
6bb42870e0 do not ignore --allow-keywords if SHOW CREATE TABLE is used 2003-02-12 20:46:40 +01:00
monty@mashka.mysql.fi
689578a099 Fixes for Netware
Call pthread_mutex_destroy() on not used mutex.
Changed comments in .h and .c files from // -> /* */
Added detection of mutex on which one didn't call pthread_mutex_destroy()
Fixed bug in create_tmp_field() which causes a memory overrun in queries that uses "ORDER BY constant_expression"
Added optimisation for ORDER BY NULL
2003-01-28 08:38:28 +02:00
vva@genie.(none)
c50ecbb1d0 fix xml-output of mysqldump 2002-11-18 20:50:42 +04:00
monty@mashka.mysql.fi
efaaf0b4b8 Updated VC++ project files for 4.0.4
Only write short usage if one starts mysqldump without any options
Added query cache on windows
Added error message if one can't read privilege tables
2002-09-24 17:11:59 +03:00
monty@mashka.mysql.fi
ce4b584a85 Increased max possible max_allowed_packet to 1G
Small optimization to not do external locking of temporary MyISAM tables.
2002-09-19 17:49:41 +03:00
monty@mashka.mysql.fi
7f55d92637 fixed so that --ssl and --skip-ssl works with the MySQL clients.
Fixed core dump bug when sending wrong string to AES_DECRYPT()
2002-09-17 23:46:53 +03:00
monty@hundin.mysql.fi
ac6e640c4d Fix for SSL and new my_getopt
Fix for syntax error bug in SET TRANSACTION ISOLATION
2002-08-09 16:47:16 +03:00
serg@sergbook.mysql.com
374b81f6e7 typo fixed 2002-08-05 09:00:38 +02:00
serg@sergbook.mysql.com
f619b64d82 typo in help message fixed (LFCR -> CRLF) 2002-08-04 14:37:32 +02:00
monty@hundin.mysql.fi
0d8e13979d Made keyread (key scanning) a key specific attribute.
This avoids using fulltext keys for table scanning.
This also reverts Sinisa's original fix for this problem.
2002-06-19 00:22:30 +03:00
peter@linux.local
f85a002c68 Merge 2002-06-14 15:24:22 +04:00
peter@linux.local
d505803728 This is just code style/minor optimizations cleanup changeset 2002-06-14 15:14:30 +04:00
peter@linux.local
89b161d05d This changeset is mostly new version of previous commit modified according
to Monty's code style and optimization comments
2002-06-11 13:37:48 +04:00
monty@mashka.mysql.fi
2aecdd1a91 Big code cleanup/review before 4.0.2 release.
(All commit emails since 4.0.1 checked)
This had to be done now, before the 4.1 tree changes to much, to make it easy to propagate bug fixes to the 4.1 tree.
2002-06-11 11:20:31 +03:00
jani@dsl-jkl1657.dial.inet.fi
edc6dc48eb Fixed some spelling errors. 2002-06-01 11:46:06 +03:00
jani@hynda.(none)
c961494444 Added useful exit error code for programs using my_getopt in case
of an error in option handling. This can sometimes be useful in
scripts.

Changed some exit code names and corresponding numbers.

Fixed a bug in mysqld.cc, in replication related options.

Added a global flag in my_getopt, which can be set by any program
that is using my_getopt, which tells whether the client should
print the error message itself, or whether my_getopt should do it.
The default is that my_getopt will print the error messages.
2002-05-29 15:07:30 +03:00
jani@hynda.(none)
a5ec0a90ea moved my_getopt.h under client_priv.h
Changed my_print_defaults, mysql_install, perror, resolve_stack_dump,
resolveip and pack_isam to use my_getopt.
2002-05-22 23:54:24 +03:00
jani@rhols221.adsl.netsonic.fi
d99be9ab43 Changed GET_STRALC to GET_STR_ALLOC 2002-05-15 20:24:00 +03:00
jani@rhols221.adsl.netsonic.fi
9eda54d153 - Added new type GET_STRALC to my_getopt.
- Fixed some bugs, wrongly freed pointers, in some clients.
- Removed unneccessary code.
- Fixed some other minor bugs and added some options into
  variables category, which had accidently been left out earlier.
2002-05-14 21:41:55 +03:00
jani@dsl-jkl1657.dial.inet.fi
4945fd4a05 - Fixed some option types in my_getopt struct in all clients.
- Added special option/variable prefix '--loose-' to my_getopt.c
2002-05-11 14:36:34 +03:00
zak@balfor.local
1405433568 Tiny fix to make the XML generated by the client well-formed.
(Thanks to Georg Richter!)
2002-05-08 03:16:58 -06:00
bell@sanja.is.com.ua
4328a8cff0 ChangeLog merging 2002-04-30 21:27:26 +03:00
jani@rhols221.adsl.netsonic.fi
ee4cfa340a Fixed a bug in mysqldump.c 2002-04-30 12:32:45 +03:00
bell@sanja.is.com.ua
ea459bc950 disabled query cache in mysqldump queries 2002-04-27 12:09:59 +03:00
arjen@fred.bitbike.com
ae4455b5e7 English text enhancement.
SQL keywords/statements in caps.
2002-04-17 11:18:41 +10:00
jani@rhols221.adsl.netsonic.fi
9ec99388be Fixed a bug in mysql.cc 2002-04-16 11:39:03 +03:00
bell@sanja.is.com.ua
887eef8ff4 avoidance of caching mysqldump queries 2002-04-12 12:44:26 +03:00
jani@hynda.mysql.fi
70a258757c Merge and two bug fixes in my_getopt.c 2002-04-03 15:44:20 +03:00
jani@hynda.mysql.fi
22a35da68c merge 2002-04-03 13:36:01 +03:00
jani@hynda.mysql.fi
c143f01dd1 Changed mysql, mysqladmin, mysqlshow, mysqldump, mysqlimport,
mysqlcheck and myisamchk to use new my_getopt struct.
2002-04-02 20:29:53 +03:00
monty@tik.mysql.fi
6c2e453efa Fixed quoting problem in mysqldump 2002-03-25 18:10:33 +02:00
monty@tik.mysql.fi
ee162d86a6 Quote names to SHOW CREATE for mysqldump
Fix thread-related bug when doing DROP TABLE
Fix bug in RENAME TABLE on windows
2002-03-21 23:06:48 +02:00
monty@hundin.mysql.fi
288f81ce07 Fix max buffer length 2002-03-15 22:01:45 +02:00
monty@tik.mysql.fi
63e106f00b Decrease net_buffer_length to not get problems when running against mysqld with same max_allowed_packet 2002-03-15 18:13:51 +02:00
jorge@linux.jorge.mysql.com
af45fc0526 mysqldump.c:
Changed C++ style comments to ANSI C style.
2002-02-12 08:24:40 -06:00
monty@hundin.mysql.fi
a880ec9423 Merge 2002-01-24 13:47:17 +02:00
monty@hundin.mysql.fi
4609e627a5 Increase max package length to 512M for mysql and mysqldump.
Faster 'read_first_row' (Fixes slow 'preparing' state)
Read constant tables earlier, which provides better optimzations when using tables with <=1 row.
This also fixes a complicated bug involving const tables.
2002-01-23 02:52:26 +02:00
jani@hynda.mysql.fi
c7ca29faf5 Fixed a bug in mysqldump.c 2002-01-23 00:04:43 +02:00
mwagner@cash.mwagner.org
71670dc93e mysqldump.c:
Added missing 'Q' for -Q option
2002-01-13 01:32:05 -06:00
mwagner@cash.mwagner.org
50c7fba4cf mysqldump.c:
Inc the version
2002-01-13 01:30:50 -06:00
mwagner@cash.mwagner.org
9888899918 mysqldump.c:
Added missing 'Q' for -Q option
2002-01-13 01:29:21 -06:00
monty@hundin.mysql.fi
4b877e0088 Added macros for nice TIMESPEC usage.
Fixes for building MySQL with gcc 3.0
Added SIGNED / UNSIGNED casts
Fixed core dump bug in net_clear() with libmysqld.
Back to using semaphores in query cache.
Added 'Null' and 'Index_type' to SHOW INDEX.
2002-01-02 21:29:41 +02:00