| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| | |
Changed another unecessary use of Item_string into LEX_STRING (in sp_pcontext).
|
| |\ |
|
| | |
| | |
| | |
| | | |
Disabled queries in FUNCTIONs.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
invocations.
Had to add a cahing mechanism which is in parts an ugly kludge, but it will be
reworked once the real SP caching is implemented.
|
| | |
| | |
| | |
| | |
| | |
| | | |
unstable, and
various known problems, but good enough for a checkpoint commit.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Expanded the mysql.proc table, reworked the find/create/drop functions
completely, added new functions for FUNCTIONs (lotta functions here :),
got rid of some unnecessary use of Item_strings while at it. Extended
the parser correspondingly, and fiddled around a bit to make SP FUNCTIONs
coexist with UDFs.
Can now CREATE and DROP FUNCTIONs. Invoking yet to come...
|
| | | |
|
| | |\ |
|
| | | | |
|
| | | |\
| | | | |
| | | | |
| | | | | |
into sinisa.nasamreza.org:/mnt/work/petica
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
tests
accordingly.
|
| | | | |
| | | | |
| | | | |
| | | | | |
and repeat SP-construction
|
| | | |/
| | | |
| | | |
| | | | |
For Stored Procedures
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Setting of SP local variables is now part of the existing SET syntax.
Note: This has the result that a somewhat extended syntax (from SQL-99)
is allowed. We allow a list of settings ("SET a=1, b=2, ...;"), where the
different variables can be of different types (SP local, system or user (@)).
This also means that certain optional modifiers, such as GLOBAL, are allowed
when setting an SP local variable, but then has no meaning and is ignored.
|
| | | |\ |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Implemented IF-THEN-ELSE.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Fixed backpatching of forward jumps.
Implemented LOOP, WHILE, REPEAT (temporarily known as SPREPEAT).
Known bug: Expression evaluation still not quite ok (e.g. "x > 0"),
which is why IF and CASE is not yet implemented.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
for better jump support. Some flow control support added too (but not
complete).
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Implements creation and dropping of PROCEDUREs, IN, OUT, and INOUT parameters,
single-statement procedures, rudimentary multi-statement (begin-end) prodedures
(when the client can handle it), and local variables.
Missing most of the embedded SQL language, all attributes, FUNCTIONs, error handling,
reparses procedures at each call (no caching), etc, etc.
Certainly buggy too, but procedures can actually be created and called....
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Point, MultiLine, Poligom, etc, are now not aliases
for Geometry, but separate field types.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Reduce/reduce conflict
fix.
|
| | | | |
| | | | |
| | | | |
| | | | | |
"a LIKE b COLLATE c" worked as "(a LIKE b) COLLATE c" which is not right
|
| | | | |
| | | | |
| | | | |
| | | | | |
Fixes according coercibility tables, p162, SQL Complete
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
NATIONAL CHAR VARYING(n)
NCHAR VARYING(n)
are now aliases for
VARCHAR(n) CHARACTER SET utf8
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
is now synonim for
CHARACTER(n) CHARACTER SET utf8
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
SELECT _latin1 0x345678;
SELECT _latin x'345678';
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | | |
into narttu.mysql.fi:/my/mysql-4.1
|
| | | | | | |
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
GeomertyFromWKB() function.
SRID() function.
::store() methods for Field_geom.
Code cleanup.
|
| | | | |
| | | | |
| | | | |
| | | | | |
SET NAMES BINARY now works
|
| | | | | |
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
MEMORY is alias for HEAP for CREATE TABLE ... TYPE=HEAP
Fixed bug in multi-table-update where a row could be updated several times
|
| |/ / / /
|/| | | |
| | | | |
| | | | | |
Don't create temporary objects with no table name
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \ |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Added expire-logs-days option
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Added:
PURGE [MASTER] LOGS BEFORE date/date_expression
expire-logs-days option
With this option old files are deleted when
- mysqld is started
- log is rotated
- someone does FLUSH LOGS
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
into sinisa.nasamreza.org:/mnt/work/mysql-4.1
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
SET COLLATION latin1
SET COLLATION 'latin1'
SET COLLATION DEFAULT
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Major re-write of code yet has to be done, to circumvent
assigning of UNIT to current select and to deal better with
offset, limit.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
binary and primary collations in the future
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
SET NAMES <charset name> [COLLATE <collation name>]
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
is now synonim for
SELECT expr COLLATE <expr_charset>_bin
|