monty@mysql.com
a5d8b846fa
after merge fixes
2004-05-05 21:24:21 +03:00
monty@mysql.com
b6e5c23c26
Ensure that we use unix file format (no \r\n) for all new files
...
Portability fixes
2004-03-20 12:48:14 +02:00
monty@mysql.com
b49b24d94a
Added test to show bug in current union implementation
...
After merge fixes
Portability fixes
2004-03-19 18:33:38 +02:00
bell@sanja.is.com.ua
c9938b9dff
merge
2004-03-16 17:35:49 +02:00
monty@mysql.com
f43093ec0e
After merge fixes
...
Added more DBUG statements
Ensure that we are comparing end space with BINARY strings
Use 'any_db' instead of '' to mean any database. (For HANDLER command)
Only strip ' ' when comparing CHAR, not other space-like characters (like \t)
2004-02-16 10:03:25 +02:00
bell@sanja.is.com.ua
ff0a6e9686
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
...
into sanja.is.com.ua:/home/bell/mysql/bk/work-derived2-4.1
2004-02-09 15:01:51 +02:00
bell@sanja.is.com.ua
74a9ca1991
ufter revview fix (BUG#2120)
2004-02-09 14:44:03 +02:00
monty@mysql.com
06432eac36
Added --compact to mysqlbinlog
...
Fixed output from mysqlbinlog when using --skip-comments
Fixed warnings from valgrind
Fixed ref_length when used with HEAP tables
More efficent need_conversion()
Fixed error handling in UPDATE with not updateable tables
Fixed bug in null handling in CAST to signed/unsigned
2004-02-09 12:31:03 +01:00
bell@sanja.is.com.ua
7593d8a056
fixed parsing mode for derived tables (BUG#2421)
2004-02-02 14:58:36 +02:00
bell@sanja.is.com.ua
f9af8578bc
make JOIN::prepare, JOIN::optimize only once for EXPLAIN of derived table
...
(BUG#2120 sfter merge)
2004-02-01 20:07:44 +02:00
bell@sanja.is.com.ua
2a9cd37cd6
now all tables of query are locked in one place (including derived tables)
...
fixed BUG#2120 and other problem with EXPLAINing derived tables
2004-02-01 15:30:32 +02:00
bell@sanja.is.com.ua
03d7217f77
Merge
2004-01-20 19:23:28 +02:00
bell@sanja.is.com.ua
16f2e3d78d
new test added
...
test fixed
2004-01-17 15:28:20 +02:00
bell@sanja.is.com.ua
4714f690f1
assigned correct lex->current_select for derived tables (BUG#2349)
...
moved LIMIT initialialization, because it is need only for single select derived table
2004-01-14 15:15:42 +02:00
bell@sanja.is.com.ua
501ae0bc52
allow UPDATE and DELETE stetements with tables derived from subquery if they are not updated (BUG#2117)
...
allow delete table by alias in multi-delete statement
2004-01-04 23:44:33 +02:00
hf@deer.(none)
eb08458c55
Merge abotchkov@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into deer.(none):/home/hf/work/mysql-4.1.1727
2003-11-21 11:58:28 +04:00
monty@mashka.mysql.fi
cab1dc628c
CLIENT_MULTI_QUERIES -> CLIENT_MULTI_STATEMENTS
...
New multi-key-cache handling. This was needed becasue the old one didn't work reliable with MERGE tables.
ALTER TABLE table_name ... CHARACTER SET ... now changes all char/varchar/text columns to the given character set
(One must use ALTER TABLE ... DEFAULT CHARACTER SET ... to change the default character set)
Fixed that have_compress is detected properly (fixes problems with func_compress.test on platforms without zlib)
New syntax for CACHE INDEX ('keys' is optional if no index name is given and one mentions the key cache name only ones)
Removed compiler warnings
Added mysql_set_server_option() to allow clients like PHP to easaily set/reset the multi-statement flag.
2003-11-18 13:47:27 +02:00
hf@deer.(none)
a88f4ea30f
Fix for bug #1727 ( Crash in EXPLAIN & UNION & derived)
...
another version of the fix.
Here i removed a loop that seems to be superfluous
2003-11-08 16:43:16 +04:00
bell@sanja.is.com.ua
9d294b869e
correct table name assigned to temporary table field:
...
- correct table name shown in EXPLAIN Iindex reference)
- pointer on freed memmory (reallocation of table name in reusing table entry) can't be used in EXPLAIN
(BUG#1584)
2003-10-19 14:25:33 +03:00
bell@laptop.sanja.is.com.ua
ba26a1aa64
fix error messages
...
fix derived inside subqueries
2003-10-06 13:16:56 +03:00
bell@laptop.sanja.is.com.ua
16733e423e
prohibited using derived tables in UPDATE command (BUG#1477)
...
fixed incorrect table name in test
2003-10-05 21:09:50 +03:00
Sinisa@sinisa.nasamreza.org
a424ccee17
Fix for a bug #1231
...
Parse error caused global ORDER BY to be initialized although it should
not have been.
2003-09-12 19:17:30 +03:00
gluh@gluh.mysql.r18.ru
548d7dc948
Fix for bug 1176
2003-09-04 17:12:20 +05:00
bell@sanja.is.com.ua
b6a8d68ae4
fixed problem with reference on derived table fields (BUG#1031)
2003-08-12 15:04:49 +03:00
bell@sanja.is.com.ua
da8ab7dd52
test for BUG#969
2003-08-09 17:10:58 +03:00
monty@narttu.mysql.fi
23145cfed7
Added SQLSTATE to client/server protocol
...
bmove_allign -> bmove_align
Added OLAP function ROLLUP
Split mysql_fix_privilege_tables to a script and a .sql data file
Added new (MEMROOT*) functions to avoid calling current_thd() when creating some common objects.
Added table_alias_charset, for easier --lower-case-table-name handling
Better SQL_MODE handling (Setting complex options also sets sub options)
New (faster) assembler string functions for x86
2003-06-04 18:28:51 +03:00
Sinisa@sinisa.nasamreza.org
47f67214d9
A fix for a crashing bug in EXPLAIN on derived tables with a join.
2003-04-10 21:05:28 +03:00
Sinisa@sinisa.nasamreza.org
d6923a6c10
Adding tests for the fixed ORDER BY 0 bug
2003-03-10 17:07:39 +02:00
bell@sanja.is.com.ua
760e22f0bb
after merge fix of 577 task (SCRUM, pre commit to be able to merge with static tables optimization fix)
...
fixed derived tables with subselect inside
2003-01-26 21:30:35 +02:00
monty@mashka.mysql.fi
1f6ecc0cd3
Changed mysql-test to print warnings for not existing table to DROP TABLE
...
Cleaned up test; Removed wrong DROP TABLE commands and use standard table and database names.
changed store_warning() -> push_warning_print()
2003-01-06 01:48:59 +02:00
Sinisa@sinisa.nasamreza.org
5a44f2bc26
merge fixes
2002-12-26 20:04:22 +02:00
bell@sanja.is.com.ua
d85a01db2c
added FROM DUAL for derived tables
2002-12-26 17:48:19 +02:00
bell@sanja.is.com.ua
9e2d9aa274
fixed derived table visibility scope for derived tables with union
2002-12-17 23:18:19 +02:00
Sinisa@sinisa.nasamreza.org
675098852c
Fix for fix_fields in derived tables with UNION's ....
2002-12-17 22:36:23 +02:00
Sinisa@sinisa.nasamreza.org
a83ed34f83
A fix for a bug in fix_fields in case like this:
...
select .. UNION select some_column;
This is exhibited in sub-selects and derived tables.
2002-12-17 20:15:15 +02:00
Sinisa@sinisa.nasamreza.org
a918a6a7a9
derived tables with UNION's ...
...
Scrum task !!!!!
2002-12-12 16:09:06 +02:00
Sinisa@sinisa.nasamreza.org
25586e477a
some bug fixes and tests for those.
...
I am pushing now, because :
* I have a fix for crashing bug
* Sanja will destroy my changes in sub-select test ... ;)
2002-11-30 19:53:31 +02:00
Sinisa@sinisa.nasamreza.org
481bcd5750
many bug fixes
2002-11-29 14:49:07 +02:00
Sinisa@sinisa.nasamreza.org
8a53d1ca6a
adding mandatory aliases for derived tables as per SQL-99
...
doing it in sql_yacc.yy does not work
this commit contains fixes for other tests
there are fixes in subselect test which will have to be changed
once fix_fields is fixed to work with aliased derived tables
2002-11-28 19:19:21 +02:00
Sinisa@sinisa.nasamreza.org
dd556e1439
A fix for a bug with derived tables within subselect
...
within derived tables within ......
2002-11-26 16:49:55 +02:00
Sinisa@sinisa.nasamreza.org
46beea06e1
Some new tests...................
2002-11-16 16:41:29 +02:00
Sinisa@sinisa.nasamreza.org
7bd4fb813a
some code cleanup as per CTO's instructions plus a small bug fix with
...
a corresponding test case....
2002-11-12 14:40:32 +02:00
Sinisa@sinisa.nasamreza.org
c6b0d33619
some bug fixes related to derived tables
2002-11-11 17:45:23 +02:00
Sinisa@sinisa.nasamreza.org
a5fcadce65
some test cases for the bugs being fixed
2002-10-30 18:23:02 +02:00
bell@sanja.is.com.ua
55718d0f07
derived table with * bug fixed
2002-05-28 20:49:17 +03:00
bell@sanja.is.com.ua
ac28b19955
fixed bug in derived tables if derived tables more than 1
2002-05-06 22:47:57 +03:00
Sinisa@sinisa.nasamreza.org
22d4f87e69
Derived tables !
2002-03-26 15:06:05 +02:00