bell@sanja.is.com.ua
8c547fae57
Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/work-distinct-4.1
2002-10-16 00:43:43 +03:00
bell@sanja.is.com.ua
21dd4a4dd5
fixed subselect explain bug
2002-10-16 00:42:59 +03:00
monty@hundin.mysql.fi
3712931cc6
Fixed bug in ORDER BY ... LIMIT
2002-10-15 16:47:55 +03:00
monty@hundin.mysql.fi
9bd5f1eadc
Merge work:/my/mysql-4.1 into hundin.mysql.fi:/my/mysql-4.1
2002-10-15 01:54:51 +03:00
monty@hundin.mysql.fi
0b54a5c3fc
Fix error handling in last patch (BLOB's in temporary tables) if
...
create_tmp_table fails.
2002-10-15 01:52:41 +03:00
monty@hundin.mysql.fi
68963e91b2
Fixed a bug in key optimizing handling where the expression
...
WHERE column_name = key_column_name was calculated as true
for NULL values.
2002-10-14 17:04:12 +03:00
bell@sanja.is.com.ua
31107251aa
fixed cteate temporary field of subselect bug
2002-10-14 14:33:42 +03:00
monty@hundin.mysql.fi
9b1d5b6f5f
Fixed bug where we could reference a freed tmp_table->table_name variable for some
...
GROUP BY ... ORDER BY queries.
2002-10-12 12:38:48 +03:00
monty@narttu.mysql.fi
da2abaf887
Portability fixes to be able to compile MySQL with VC++
2002-10-08 22:28:24 +03:00
bell@sanja.is.com.ua
2715d331f7
fixed couple of bugs in field/reference name resolution
...
fixed error handling in subselect fix_field
2002-10-08 14:50:12 +03:00
bell@sanja.is.com.ua
23de67efae
after merging fix
2002-10-07 00:56:21 +03:00
bell@sanja.is.com.ua
199f667c19
merging
2002-10-04 14:15:59 +03:00
monty@mashka.mysql.fi
61488a7b98
Fixed bug that causes select test to fail
...
Now MySQL 4.1 is up to date with all patches from 4.0.4 and passes the test suite.
2002-10-03 19:44:46 +03:00
monty@mashka.mysql.fi
2e52a69b12
Merge work:/my/mysql-4.1 into mashka.mysql.fi:/home/my/mysql-4.1
2002-10-03 16:56:09 +03:00
bell@sanja.is.com.ua
48b2a76a48
after merging bugfix
2002-10-03 16:35:08 +03:00
monty@mashka.mysql.fi
0f39457613
Merge with 4.0.4
2002-10-02 17:55:12 +03:00
monty@mashka.mysql.fi
d69250a969
Fixes and code cleanups after merge with 4.0.3
...
Warning handling and initial prepared statement handling (last not complete yet)
Changed a lot of functions that returned 0/1 to my_bool type.
GRANT handling now uses read/write locks instead of mutex
Change basic net functions to use THD instead of NET
(needed for 4.1 protocol)
Use my_sprintf instead of sprintf() + strlen()
Added alloc_query() to be able to chare query initialization code with
prepared statements.
Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()
Note that the following test fails (will be fixed ASAP):
sub_select, union, rpl_rotate_logs and rpl_mystery22
2002-10-02 13:33:08 +03:00
monty@hundin.mysql.fi
3a9eb4f621
Fix some ORDER BY ... DESC problems with InnoDB
2002-09-27 08:23:51 +03:00
bell@sanja.is.com.ua
46a22a5be7
new EXPLAIN
...
fixed bug in mysql-test/create-test-result
fixed bug in union-subselect engine
2002-09-26 23:08:22 +03:00
monty@hundin.mysql.fi
a937a4fa5f
Do filesort if handler has the HA_NOT_READ_PREFIX_LAST flag set.
2002-09-26 10:20:49 +03:00
monty@hundin.mysql.fi
e8c77e16dc
Fix of newly introduced bug in ORDER BY when one has a constant in the select list.
2002-09-24 21:23:56 +03:00
serg@serg.mysql.com
e8c6e2717d
bugfix: DISTINCT with const_item in ORDER BY
2002-09-10 19:23:59 +00:00
Sinisa@sinisa.nasamreza.org
265a10ff77
a fix for a bug with all_fields.elements not being changed by
...
expansion of the wildcards
2002-09-03 23:00:23 +03:00
Sinisa@sinisa.nasamreza.org
1bbb8ecf58
Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2002-09-03 21:33:19 +03:00
Sinisa@sinisa.nasamreza.org
0db472dd28
a small fix for a distinct query
2002-09-03 21:31:08 +03:00
monty@mashka.mysql.fi
a01a0840dc
Some trivial optimzations
...
Check if AND/OR expression can be NULL; Fixed bug in GROUP BY and-or-expression where expression could be NULL
Bug fix for SHOW OPEN TABLES when user didn't have privilege to access all open tables.
Better fix for ALTER TABLE on BDB tables.
2002-09-03 15:44:25 +03:00
bell@sanja.is.com.ua
d9989c635e
merged
2002-09-03 10:06:10 +03:00
bell@sanja.is.com.ua
b07aaeb295
subselect with union
...
new error handling
Item_ref bug fixed
2002-09-03 09:50:36 +03:00
monty@narttu.mysql.fi
7134ffec21
Merge with 4.0.3
...
Some simple optimzations, more comments and indentation changes.
Add ` around database in 'use database' in binary log.
Moved max_error_count and max_warning_count to variables struct.
Removed SHOW_WARNS_COUNT and SHOW_ERRORS_COUNT calls.
Changed string functions to use character set of first string argument as default return characterset
(Each string function can change the above assumption if needed)
2002-08-30 12:40:40 +03:00
Sinisa@sinisa.nasamreza.org
22bcce253e
Adding a necessary functionality to ::store and ::save_in_field
...
that will take place properly after pull from 4.0, in order to
handle conversions from quoted constants to bigint's.
2002-08-24 14:49:04 +03:00
monty@hundin.mysql.fi
7dac7062fa
Changed relay_log_space to ulonglong
...
Removed compiler warnings.
2002-08-23 15:14:01 +03:00
monty@hundin.mysql.fi
5773b6504a
Fixed bug in blocking handling when compiling with OPENSSL (caused hangup in client code)
...
Fixed bug in SELECT DISTINCT ... ORDER BY not-used-column.
Fixed bug in pthread_mutex_trylock with HPUX 11.0
2002-08-17 00:35:51 +03:00
monty@hundin.mysql.fi
23a1a5db84
Fixed syntax error
2002-08-08 21:38:12 +03:00
monty@hundin.mysql.fi
8832927d5c
Added nety_retry_count as a changeable variable
...
Make safe_mysqld a symlink to mysqld_safe in binary distribution
Fixed problem with CTRL-C when using mysqld --bootstrap
2002-08-08 20:49:06 +03:00
monty@hundin.mysql.fi
087261482a
merge with 3.23.52
2002-08-08 15:24:47 +03:00
monty@mashka.mysql.fi
1bb7665a9c
merge
2002-08-08 03:29:36 +03:00
monty@mashka.mysql.fi
2c4fa340cc
Lots of code fixes to the replication code (especially the binary logging and index log file handling)
...
Fixed bugs in my last changeset that made MySQL hard to compile.
Added mutex around some data that could cause table cache corruptions when using OPTIMIZE TABLE / REPAIR TABLE or automatic repair of MyISAM tables.
Added mutex around some data in the slave start/stop code that could cause THD linked list corruptions
Extended my_chsize() to allow one to specify a filler character.
Extend vio_blocking to return the old state (This made some usage of this function much simpler)
Added testing for some functions that they caller have got the required mutexes before calling the function.
Use setrlimit() to ensure that we can write core file if one specifies --core-file.
Added --slave-compressed-protocol
Made 2 the minimum length for ft_min_word_len
Added variables foreign_key_checks & unique_checks.
Less logging from replication code (if not started with --log-warnings)
Changed that SHOW INNODB STATUS requre the SUPER privilege
More DBUG statements and a lot of new code comments
2002-08-08 03:12:02 +03:00
monty@mashka.mysql.fi
621b5da80e
Fixed bug with GROUP BY on NULL fields.
...
(Merge of code from 4.0)
2002-08-05 18:10:53 +03:00
serg@sergbook.mysql.com
16d4ff79b7
revert sinisa's patch, because it does nothing
2002-07-31 15:29:04 +02:00
serg@sergbook.mysql.com
2ea3916eb0
fix for a nasty bag, that causes a memory corruption+crash on HUGE select distincts, as myisam temp table treats nulls as equal, it constantly returned 141 (duplicate key) error in create_myisam_from_heap
2002-07-31 15:09:31 +02:00
Sinisa@sinisa.nasamreza.org
57f32cf816
merge
2002-07-29 18:37:15 +03:00
Sinisa@sinisa.nasamreza.org
712f4fb047
lot's of small changes
2002-07-29 17:05:41 +03:00
monty@mashka.mysql.fi
c702a1f8fd
Removed wrong implementation of CUBE/ROLLUP
...
Fixed bugfix of INSERT ... SET db_name.table_name.column_name
Changed locking to external-locking
Fix client hangup for some invalid SQL queries.
2002-07-24 19:55:08 +03:00
monty@mashka.mysql.fi
4233d3a3d4
merge
2002-07-23 20:39:36 +03:00
monty@mashka.mysql.fi
dddc20d9d1
New SET syntax & system variables.
...
Made a some new buffers thread specific and changeable.
Resize of key_buffer.
AUTO_COMMIT -> AUTOCOMMIT
Fixed mutex bug in DROP DATABASE
Fixed bug when using auto_increment as second part of a key where first part could include NULL.
Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
Don't write message to error log when slave reconnects becasue of timeout.
Fixed possible update problem when using DELETE/UPDATE on small tables
(In some cases we used index even if table scanning would be better)
A lot of minior code cleanups
2002-07-23 18:31:22 +03:00
Sinisa@sinisa.nasamreza.org
ff2608099d
Merge sinisa@work.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2002-07-16 22:45:59 +03:00
Sinisa@sinisa.nasamreza.org
c5738005c4
Just making commit in order to stop getting erors.
...
Will do a push when it starts working ..
2002-07-16 22:42:53 +03:00
bell@sanja.is.com.ua
0c6cb114e2
subselect clean up
...
fix after automerge
2002-07-01 19:06:24 +03:00
bell@sanja.is.com.ua
1a88542102
Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/work-having-4.1
2002-07-01 14:17:59 +03:00
bell@sanja.is.com.ua
2cf620004e
subselect in having clause
...
fixed bug in sum function in subselect
2002-07-01 14:14:51 +03:00
jani@rhols221.adsl.netsonic.fi
b3d57979c7
Merge work:/home/bk/mysql-4.0/
...
into rhols221.adsl.netsonic.fi:/home/my/bk/mysql-4.0-new
2002-07-01 10:14:55 +03:00
monty@hundin.mysql.fi
f87efa928b
Update for running gcc 3.x (mainly on HPUX)
...
Portability fixes for HPUX
Rename of CHECK_LOCK to IS_FREE_LOCK
Apply lower_case_table_names also to databases
Cleanup of describe code
Don't allow \ in database names
2002-06-30 18:57:21 +03:00
jani@rhols221.adsl.netsonic.fi
7cad1f9313
Added interface for first set of dynamic variables.
2002-06-28 19:30:09 +03:00
bar@gw.udmsearch.izhnet.ru
337d46966c
Several problems were fixed (mostly BLOB+charset related)
...
Fixed that MyISAM were not working properly with non-8bit charsets in some cases
CONVERT() function now works properly
2002-06-26 16:00:43 +05:00
bar@gw.udmsearch.izhnet.ru
44347c5a54
SELECT left(non_default_charset_field,n) GROUP BY 1
...
now works more correctly. Still needs fixes.
2002-06-20 22:52:56 +05: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
monty@hundin.mysql.fi
6d69e1205f
Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0
2002-06-17 09:46:38 +03:00
monty@mashka.mysql.fi
fc52abc50f
Cleanup of checking of user resources
...
Added missing checking of no_keyread
2002-06-16 17:06:12 +03:00
Sinisa@sinisa.nasamreza.org
078dada497
Fixed a rare bug when fulltext index is present and no tables are used.
...
A better fix would be to have a map of tables that are not used at all,
and to annul just fledls in that TABLE.
2002-06-14 15:06:01 +03:00
venu@myvenu.com
5a33842a16
sql_error.cc, sql_prepare.cc:
...
new file
Client-server protocol 4.1 changes - Server side:
* Enhanced metadata information:
- SHOW [COUNT(*)] ERRORS [LIMIT [offset,] rows]
- SHOW [COUNT(*)] WARNING [LIMIT [offset,] rows]
- SHOW TABLE TYPES
- SHOW PRIVILEGES
- SHOW COLUMN TYPES (Not fully implemented)
* Prepared execution
* Long data handling in pieces
* And other misc changes
2002-06-12 14:13:12 -07: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
monty@hundin.mysql.fi
ad04b7f677
Fixed bug in SQL_CALC_FOUND_ROWS + LIMIT
2002-06-10 13:33:25 +03:00
monty@hundin.mysql.fi
2c274c64b9
Bug fix for complicated GROUP BY ... ORDER BY query.
...
Fixed problem in access rights testing (from last patch)
2002-06-09 15:41:19 +03:00
Sinisa@sinisa.nasamreza.org
073d9e5f09
A bug fix and test case for a bug that appears in quereis where there
...
is a GROUP BY a column that is not NOT NULL and ORDER BY is done by
another column.
Even better fix would be to make a separate function for this.
2002-06-08 20:02:49 +03:00
bell@sanja.is.com.ua
bd7e31bc53
temporary preventing subselect in HAVING clause
2002-06-07 21:26:43 +03:00
bell@sanja.is.com.ua
27a2dac9fc
post-merged fixing
2002-06-05 22:05:08 +03:00
bell@sanja.is.com.ua
289ac250af
merged
2002-06-05 21:32:22 +03:00
monty@hundin.mysql.fi
ee6bd84880
Changes for new binary .frm format
...
Fixes after last merge from 4.0.
(Code not yet complete, need anoter merge from 4.0)
2002-06-04 08:23:57 +03:00
monty@hundin.mysql.fi
f0b28da6f9
merge with 4.0
2002-06-03 12:59:31 +03:00
bell@sanja.is.com.ua
fb2cd68b5d
new subselect tests
...
LIMIT fixed
AVG & STD with subselect fixed
join_free fixed to be depended queries compatible
sort_default removed from SELECT_LEX
2002-06-01 23:35:36 +03:00
bell@sanja.is.com.ua
ab36838e9b
Hiding internal pointers of SELECT_LEX structures
2002-05-27 20:52:54 +03:00
bell@sanja.is.com.ua
59602212d2
merge
2002-05-26 22:57:08 +03:00
bell@sanja.is.com.ua
35faf872aa
added depended subselect processing
2002-05-26 22:50:32 +03:00
serg@sergbook.mysql.com
c06cc02c5d
Merge work:/home/bk/mysql
...
into sergbook.mysql.com:/usr/home/serg/Abk/mysql
2002-05-26 12:59:02 +02:00
serg@sergbook.mysql.com
66b41d19c2
quick fix for some optimizer glitch (it appears as ft+const bug, but it, probably, isn't)
2002-05-25 20:59:50 +02:00
Sinisa@sinisa.nasamreza.org
2181d5972e
A fix for the very nusty bug with when there are 2 or more fields
...
in GROUP BY , which fields can be NULL ....
2002-05-22 15:11:35 +03:00
bar@gw.udmsearch.izhnet.ru
196aa19cf6
Now string values are created and filled with charset field
...
SELECT func(charset2) FROM t ORDER BY 1 works in correct charset
2002-05-17 16:29:52 +05:00
monty@hundin.mysql.fi
0c5c517db6
Fixed some compilation problems in last changeset
2002-05-16 23:35:09 +03:00
monty@hundin.mysql.fi
5080d64c6b
Fix bug in SELECT SQL_CALC_FOUND_ROWS
2002-05-16 16:06:57 +03:00
Sinisa@sinisa.nasamreza.org
961f98f1d0
resolve changes
2002-05-15 14:11:27 +03:00
Sinisa@sinisa.nasamreza.org
d65671f778
Features made for Schlund plus several bug fixes.
...
Read a manual for more detail
2002-05-15 13:50:38 +03:00
miguel@hegel.local
3facae335e
Sergei's MyODBC fix
2002-05-12 23:01:45 -03:00
bell@sanja.is.com.ua
e077890b04
simple subselects ported to new select_lex structures
2002-05-12 23:46:42 +03:00
bell@sanja.is.com.ua
ead6f225a4
new SELECT_LEX structures used for storing global ORDER BY, global LIMIT & limit counters
2002-05-08 23:14:40 +03:00
serg@serg.mysql.com
900788b2a1
init_dynamic_array MyODBC compatibility fix
2002-04-28 21:22:37 +00:00
ram@gw.udmsearch.izhnet.ru
b8a12a8cec
MI_KEYSEG -> HA_KEYSEG
...
_mi_key_cmp -> ha_key_cmp
2002-04-25 15:10:29 +05:00
monty@hundin.mysql.fi
b5a145d872
merge
2002-04-13 15:34:39 +03:00
monty@tik.mysql.fi
056175a1ce
Update for BTREE keys in HEAP tables
...
Split handler->option_flag() to handler->table_flags() and handler->index_flags()
2002-04-12 21:35:46 +03:00
monty@hundin.mysql.fi
6e247490dc
Merge
2002-04-02 19:46:26 +03:00
serg@serg.mysql.com
fa5717b950
Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql
2002-04-02 14:59:40 +00:00
serg@serg.mysql.com
8d8a133d51
fts+const_tables bug fixed
2002-04-02 14:56:40 +00:00
monty@hundin.mysql.fi
727e507bca
merge with 3.23.50
2002-03-27 01:56:10 +02:00
monty@hundin.mysql.fi
ed040fe21e
Fix for bug in WHERE key='j' or key='J'
2002-03-22 14:03:42 +02:00
monty@hundin.mysql.fi
f0e835ac09
Fixed problem with WHERE key=const ORDER BY key DESC
2002-03-15 21:30:50 +02:00
Sinisa@sinisa.nasamreza.org
d8b085b92b
Merge sinisa@work.mysql.com:/home/bk/mysql-4.1
...
into sinisa.nasamreza.org:/mnt/hdc/Sinisa/mysql-4.1
2002-03-15 14:21:43 +02:00
Sinisa@sinisa.nasamreza.org
5e092e2fc6
making full-text working with UNION's
2002-03-15 14:21:06 +02:00
Sinisa@sinisa.nasamreza.org
ec80dec9b0
Making full-text queries working with UNION's
2002-03-15 14:11:11 +02:00
bar@gw.udmsearch.izhnet.ru
c60a29f0ee
Hash now supports several charsets
2002-03-14 21:44:42 +04:00
monty@hundin.mysql.fi
e9ba8d58fe
merge
2002-03-06 23:41:18 +02:00
Sinisa@sinisa.nasamreza.org
0e7c34920d
Fixes done in 4.0 repository. For comments see the corresponding ones
...
in 4.0.
2002-03-05 16:12:11 +02:00