robocop
9d980c7e88
Misc, style, etc.
2011-04-02 04:24:20 +00:00
asfernandes
8d8a8b5047
Fixed problem with position handling (see CORE-2797).
2011-04-01 18:39:41 +00:00
dimitr
cc6f90ddf8
Apply Adriano's yesterday fix to functions as well.
2011-04-01 05:26:55 +00:00
asfernandes
c977df2141
Fixed CORE-3421 - AV with "UPDATE OR INSERT".
2011-03-31 14:26:59 +00:00
asfernandes
51f68bd9ac
Fixed CORE-3423 - Wrong RDB$PARAMETER_MECHANISM.
2011-03-31 14:26:31 +00:00
alexpeshkoff
9ef53b65e0
Remove reference counting where not appropriate
2011-03-31 13:44:22 +00:00
hvlad
e532b564fe
Fixed issue reported by Claudio privately
2011-03-31 10:28:36 +00:00
asfernandes
aeefde32c0
Fixed CORE-3401 - Collation errors with [type of] <domain>, type of column.
2011-03-22 18:59:13 +00:00
asfernandes
ed740ba832
Misc
2011-03-21 22:51:48 +00:00
asfernandes
c863db6e6d
Removed commented out Sqlda support and rename methods removing the word 'messsage'.
2011-03-20 19:15:55 +00:00
asfernandes
34fd6866bc
Remove unused message types.
2011-03-20 19:15:13 +00:00
asfernandes
2ce201f4ae
Use MessageBuffer in executeMessage and fetchMessage.
2011-03-20 19:14:03 +00:00
asfernandes
e4658d76c3
Misc
2011-03-20 16:24:46 +00:00
asfernandes
c12c710348
Simplification
2011-03-18 15:24:25 +00:00
hvlad
6b7e763f9b
Fixed bug CORE-3389 : isc_dsql_exec_immed2 with zero transaction handle could lead to a BUGCHECK(147).
...
While HEAD is not affected directly by this exact test case i see no harm to repeat the fix there too.
2011-03-16 21:08:32 +00:00
asfernandes
d67b091ee5
Misc
2011-03-11 00:58:55 +00:00
dimitr
82b595ae7e
Misc adjustments.
2011-03-10 08:13:02 +00:00
hvlad
60dc5dd571
Additional patch for CORE-3362 : Cursors should ignore changes made by the same statement
...
Better (i hope) fix for implicit cursors stability in PSQL
2011-03-08 09:05:28 +00:00
asfernandes
7f056af8ec
Fixed problem reported by Dmitry about values in DECLARE not being assigned to variables.
2011-03-07 20:56:17 +00:00
dimitr
311b8ffd78
Cleanup.
2011-03-07 19:41:46 +00:00
asfernandes
029d0e89a8
Replace parser hacks by correct btyacc's token position handling.
...
This fixes some problems introduced in 3.0 related to backtrackings.
It also fixes some non-precise line/column information in some commands (FOR ... DO <command>) and
stored SQL text prefixed with spaces (in views, for example).
2011-03-07 18:40:04 +00:00
asfernandes
e94a471688
Misc
2011-03-07 03:15:33 +00:00
asfernandes
9dd82235f7
Replace some nod_list by array of nodes and change implementation of nod_returning to ReturningClause.
2011-03-07 03:15:07 +00:00
asfernandes
604bb0d769
Misc
2011-03-06 17:18:04 +00:00
asfernandes
5ffa89e0c7
Reference DML statements in DSQL with StmtNode instead of dsql_nod.
2011-03-06 02:48:34 +00:00
dimitr
d68affa114
More complex fix for CORE-3374: Server may crash or corrupt data if SELECT WITH LOCK is issued against records not in the latest format. It involves upgrading the record to the current format, like UPDATE does.
2011-03-05 17:33:01 +00:00
dimitr
07a6d70da3
Cleanup.
2011-03-05 17:29:13 +00:00
dimitr
a672c012ad
Fixed the NULL handling for MIN/MAX mapped to an index.
...
Adriano, please review and rework, if necessary.
2011-03-05 17:28:37 +00:00
asfernandes
8d6c054d87
Refactored nod_src_info.
2011-03-05 02:47:22 +00:00
asfernandes
50806b72b0
Fixed assertion in StmtExprNode::copy reported privately by Dmitry.
2011-03-05 02:24:37 +00:00
asfernandes
1c6e990926
Refactor DSQL INSERT, UPDATE, DELETE, MERGE, UPDATE OR INSERT and assignment statements.
2011-03-04 01:47:49 +00:00
hvlad
69df3d720f
Additional patch for CORE-3362 : Cursors should ignore changes made by the same statement
...
Statements with more that one cursors should not create savepoint for the first cursor
2011-03-02 09:43:13 +00:00
asfernandes
de959faf39
Misc
2011-03-01 01:07:44 +00:00
hvlad
4cb57947fd
Additional patch for CORE-3362 : Cursors should ignore changes made by the same statement
2011-02-28 10:11:37 +00:00
asfernandes
b0c3efc4e3
Misc
2011-02-26 22:03:43 +00:00
asfernandes
c693dc1f6a
Explicitelly delete the strings created.
2011-02-26 21:58:33 +00:00
asfernandes
97da335f60
Removed the legacy DSQL hash table module (HSHD).
2011-02-26 21:52:47 +00:00
asfernandes
0e58483989
Refactor nod_cursor.
2011-02-26 21:51:45 +00:00
asfernandes
0193d90f6c
Fix definition and usages of fb_assert.
2011-02-26 16:03:36 +00:00
dimitr
fc43516b21
Reworked my yesterday's change. Hopefully, it should resolve the found regressions.
2011-02-26 09:31:46 +00:00
dimitr
790b888561
Better protection from wrong casts.
2011-02-26 07:25:10 +00:00
asfernandes
74a6076b50
Replace some blr_block by blr_begin, as before.
2011-02-26 01:10:26 +00:00
dimitr
714f883df5
Let's process the sub-node before using it in CMP_get_desc. It helps to avoid a crash if the sub-node is a variable (its e_var_variable argument is not assigned yet).
2011-02-25 13:06:14 +00:00
dimitr
a09fc3e846
Fixed the assertion reported by Vlad privately.
2011-02-25 10:42:00 +00:00
asfernandes
2096bd7239
Refactor DSQL exceptions: nod_on_error, nod_sqlcode, nod_gdscode, nod_exception and nod_default.
2011-02-25 02:52:51 +00:00
asfernandes
0ab05bd41c
Refactor nod_start_savepoint and nod_end_savepoint.
2011-02-22 16:06:08 +00:00
asfernandes
12cb8e50bd
Misc
2011-02-22 15:44:51 +00:00
asfernandes
dca1961a82
Refactor nod_while.
2011-02-22 15:30:06 +00:00
asfernandes
db4390bf9f
Refactor SET GENERATOR / ALTER SEQUENCE.
2011-02-22 01:57:51 +00:00
asfernandes
0a6e338392
Refactoring nod_list and nod_block statements.
2011-02-22 00:51:56 +00:00