robocop
10d74a7642
Style.
2008-02-13 12:57:04 +00:00
dimitr
f5dce94470
Front-ported the DSQL_unprepare feature from Vulcan.
2008-02-12 17:21:05 +00:00
asfernandes
6dd361603f
Misc
2008-02-04 17:01:36 +00:00
dimitr
b4db26c7d7
Cleanup and refactoring.
2008-02-04 12:45:00 +00:00
asfernandes
607ef7d9fa
Encapsulate the parser and make it thread safe
2008-02-03 19:16:12 +00:00
robocop
fbdc3dbb2b
Style, constness and macro cleanup.
2008-02-03 11:20:48 +00:00
asfernandes
b39ac40c9d
Misc
2008-02-03 02:32:39 +00:00
dimitr
36ef0f6fc9
Misc.
2008-02-02 23:48:48 +00:00
alexpeshkoff
8bdc06af57
Do not hold mutex more then needed
2008-02-02 17:42:32 +00:00
dimitr
bacf986c78
Fix for an issue spotted by Claudio in fb-devel.
2008-02-02 12:21:48 +00:00
asfernandes
ed51d0728b
DSQL sync. changes
2008-02-01 20:18:11 +00:00
dimitr
132176a475
Major synchronization changes. Description of the commit will be posted to fb-devel.
2008-01-26 12:52:51 +00:00
alexpeshkoff
39896cb955
Fixed CORE-1671: atexit() calls in client libraries cause segfaults
...
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory
To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.
Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
eac5ac337b
The merge continued.
2008-01-16 06:52:43 +00:00
hvlad
2b47bbe55b
Revert files back after wrong commit
2007-11-19 00:21:18 +00:00
hvlad
86f1141328
Execute statement with support of external data source
2007-11-18 22:59:20 +00:00
asfernandes
c7440554de
Fixed CORE-1528 - Functions DATEDIFF, ABS(integer const) does not work in dialect 1
2007-10-25 14:31:17 +00:00
alexpeshkoff
407cf7e1d8
Changes suggested by Claudio and Adriano. Further cleanup
2007-10-19 11:51:58 +00:00
alexpeshkoff
e4271ba6fa
Fixed CORE-1501: Wrong access to SLONG data in dsql_nod
2007-10-17 14:35:31 +00:00
robocop
caedf6f181
Fixing comditional compilation.
2007-10-06 10:30:53 +00:00
robocop
0904112078
Misc: document code that doesn't handle quoted names as expected. It may be bug or strange feature for cursor names.
2007-08-26 09:14:39 +00:00
asfernandes
0b76787f19
Fixed CORE-1417 - "Invalid BLOB ID" in IBX insert operation
2007-08-22 02:18:56 +00:00
hvlad
f13b21de65
Fix for CORE-908 : Garbage in plan output of complex statement
2007-08-09 11:05:43 +00:00
alexpeshkoff
21de02480f
Fixed CORE-1371: Execute block fails within execute statement
2007-07-20 09:35:52 +00:00
alexpeshkoff
ea8ba3370d
Cleaned up mutexes - removed MUTX_T and related macros
2007-06-06 12:37:24 +00:00
dimitr
fce8a28953
Fixed the issue reported by grostoon in fb-devel.
2007-04-27 15:53:33 +00:00
asfernandes
b6569588d9
Added missing items noted by Claudio
2007-04-15 18:34:04 +00:00
asfernandes
166fc0b865
Misc
2007-04-13 01:37:44 +00:00
asfernandes
8c7076b67f
Port of Yaffil builtin functions
2007-04-12 15:56:34 +00:00
alexpeshkoff
d63491e3c5
Finished gcc-warnings cleanup
2007-04-11 16:05:40 +00:00
alexpeshkoff
d66281291f
1. Make classic server close shutdown normally when killed by signals 2 & 15.
...
2. Don't leave running instances of fb_inet_server after database shutdown.
3. To make all this possible - reworked Y-Valve in general.
2007-01-20 14:45:45 +00:00
asfernandes
f30ee6b63e
Use debug informations in EXECUTE BLOCK
2007-01-20 14:18:18 +00:00
dimitr
550df186da
Front-ported bugfix for CORE-1094.
2007-01-19 12:11:16 +00:00
asfernandes
57795e5da8
Replace a deleted piece of code - thanks to Claudio
2006-11-29 00:20:01 +00:00
asfernandes
5e818bd4a9
Rename REPLACE to UPDATE OR INSERT
2006-11-26 15:40:10 +00:00
asfernandes
a40b7b8ae5
MERGE statement
2006-09-14 02:05:32 +00:00
asfernandes
55ec30965d
REPLACE statement
2006-09-03 01:09:23 +00:00
hvlad
705db538f9
Fix for CORE-908: Garbage in plan output of complex statement
2006-08-24 13:28:42 +00:00
asfernandes
8622322ca2
Print the statement text before print the BLR
2006-08-20 19:26:35 +00:00
asfernandes
b7af27215e
Allow usage of domains in PSQL (with TYPE OF syntax)
2006-08-19 02:52:39 +00:00
asfernandes
d3a7d1b21b
Put blob charset in XSQLVAR::sqlscale
2006-08-08 11:23:47 +00:00
asfernandes
6c707c12a1
Misc
2006-08-08 02:42:10 +00:00
asfernandes
e538061c38
Implementation of CREATE/DROP COLLATION and ISQL show/extraction of collations
2006-08-07 16:39:21 +00:00
hvlad
b20aa92714
Common table expressions implementation
2006-08-01 20:37:58 +00:00
robocop
34e37d54ae
Fix CORE-200
...
Handle column names in subqueries.
Put some more names for common operations and special data.
Disable nod_count since it's not generated by our parser.
2006-07-30 05:09:41 +00:00
dimitr
cffe207614
A few fixes for the monitoring tables.
2006-07-23 12:14:59 +00:00
dimitr
c68587fe66
1. Virtual tables
...
2. ODS 11.1, procedure type and relation type
2006-07-17 17:44:18 +00:00
robocop
f14fd66173
Misc: we typically use the exact node name when doing DSQL's internal debugging output.
2006-07-05 04:37:53 +00:00
hvlad
fac53c8177
Added blr_src_info. Error call stack now contains not only
...
procedures\triggers names but line\column numbers also.
Thanks to Eugeney Putilin for idea
2006-07-04 14:44:43 +00:00
robocop
db5f743685
Misc.
2006-06-16 08:13:20 +00:00
asfernandes
a3b411a4c1
Misc
2006-05-20 00:59:22 +00:00
alexpeshkoff
b056a118b5
1. Avoid use of STL
...
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
robocop
136cab1caf
Misc.
2006-05-04 02:57:26 +00:00
hvlad
f94b8bd641
Merge B1_5_Remote_LazyPort branch into HEAD
2006-05-01 22:23:31 +00:00
dimitr
cebda2b4bf
Threading cleanup. More to follow.
2006-05-01 04:43:59 +00:00
dimitr
8b45562f81
The DSQL code of the LIST function. Unstable yet.
2006-04-24 17:24:26 +00:00
hvlad
a2afa1051e
Fixed unregistered bug: AV in request driven by freed cursor
...
(when request is dropped flag REQ_orphan is set for child requests but
this flag is never checked)
2006-01-27 07:36:17 +00:00
alexpeshkoff
fb6757bbed
fixed gcc warning(s)
2006-01-16 16:31:15 +00:00
robocop
90174410a2
Let Ivan Prenosil test his beloved transaction options.
2005-11-17 04:22:10 +00:00
hvlad
f89e461887
Cached charsets by id (not only by name) in dsql. Removed irq_cs_bpc request as unneeded anymore
2005-11-16 07:49:28 +00:00
robocop
016931bb63
What about putting the nodes you added in node.h also in the DSQL debugging facilility, folks?
...
:-)
2005-11-12 23:36:09 +00:00
dimitr
5e8af7b048
Implemented RECREATE TRIGGER.
2005-10-29 09:15:37 +00:00
hvlad
1b26b6e6b5
Make code more robust. Reported privately by Tom Cole
2005-09-27 19:23:24 +00:00
robocop
aab2d20725
- Get rid of DBB_v3 in DSQL and put a message just in case we find ODS<=7 (impossible in theory, since FB wouldn't open such db).
...
- Put mnemonics for two hardcoded error msgs I hijacked from DYN years ago. Now they are defined for the SQLERR facility.
2005-09-10 07:15:24 +00:00
dimitr
81b86138b3
Correction.
2005-07-20 12:49:56 +00:00
dimitr
1a3218625d
Added DSQL support for ROLLBACK RETAIN.
2005-07-20 10:05:57 +00:00
robocop
e28ed6b27c
Try to indicate position of incomplete commands.
...
Some casts because statuses are fixed 32 quantities, not natural int types.
2005-06-16 05:11:08 +00:00
robocop
3a8cd43a05
Please Dmitry and try to report the line/column of an incomplete statement.
2005-06-11 00:20:22 +00:00
asfernandes
559ce29c51
1) Replace length_ to strlen as noted by Claudio and Dmitry
...
2) Change USHORT to ULONG in intl.cpp
2005-06-06 18:14:10 +00:00
asfernandes
59213efe7e
Merge INTL branch into HEAD
2005-05-27 22:45:31 +00:00
robocop
3aaa840483
Misc.
2005-05-22 03:11:41 +00:00
robocop
b490df3a41
ALTER EXTERNAL FUNCTION: be able to change the entry_point or the module_name when the UDF cannot be dropped to correct the declaration because it's used in some view, procedure, trigger or check.
2005-05-22 02:42:17 +00:00
robocop
da0a6bba5b
Getting rid of commented code that belonged to the dead shared cache and/or WAL plus fixing some indentation.
2005-05-19 07:34:46 +00:00
robocop
0285f6bf76
- Implement the proposed COMMENT keyword to allow descriptions in database objects. Subject to change or withdrawal.
...
- Enhance some messages. Reuse some msg numbers that were duplicate.
- Fix some issues found in Alex recent MetaName-related commits.
2005-05-17 07:17:25 +00:00
robocop
da0b4784b6
Misc.
2005-03-31 06:21:55 +00:00
robocop
dec3481e28
Variables in context.
2005-03-30 05:12:02 +00:00
dimitr
67e30e2dc3
Removed short-curcuit prepare for EXEC PROC requests.
2005-03-29 06:09:37 +00:00
dimitr
d25fcdc0c4
Implemented RECREATE EXCEPTION and CREATE OR ALTER EXCEPTION.
2005-03-26 16:11:52 +00:00
dimitr
fa8f456325
Fixed server crashes related to some plan buffer overflows.
2005-03-23 07:14:12 +00:00
dimitr
3f3eb11ba4
Return relation alias via API. SQLDA stays untouched for the time being.
2005-01-23 15:53:36 +00:00
robocop
7e306b86a8
Misc.
2005-01-12 04:20:17 +00:00
alexpeshkoff
dd2f879401
dsql_set_cursor_name cleanup
2004-12-26 15:32:49 +00:00
robocop
0dd1aced53
Misc.
2004-12-09 02:50:47 +00:00
robocop
5e8ed6c4d3
Prevent buffer overrun.
2004-12-08 05:59:42 +00:00
alexpeshkoff
991d78d626
a bit better approach to setup dsql thread context
2004-12-05 11:51:47 +00:00
skidder
c40eb08a27
Remove CURRENT_DATABASE keyword
2004-11-22 20:50:34 +00:00
dimitr
c1cab92cab
1) Reworked error reporting
...
2) Allowed positioned updates for explicit cursors
3) Fixed some possible server crashes
2004-11-17 14:50:33 +00:00
skidder
1e26d6c80d
CURRENT_DATABASE implementation. Established identity may also be used for isc_info_db_id datum
2004-11-11 05:37:52 +00:00
robocop
5a33aeef91
Misc: extra semicolons do not help. :-)
2004-11-07 10:38:13 +00:00
aafemt
ded2e9ee92
Variable shadowing
2004-10-27 10:14:30 +00:00
dimitr
cd413c9b8a
Added the equivalence operator. The major index optimizations are done.
...
Notes:
1) Some optimizations will follow after more deep analysis.
2) The syntax "==" is not yet agreed on. I'd prefer it to be changed.
2004-10-14 18:54:54 +00:00
robocop
ba48b1d1c9
Style
2004-10-07 08:27:45 +00:00
robocop
31ba754981
After talking to Ann, decided to disable several items:
...
- obsolete items like WAL and JOURNAL (cleaned in the past)
- crud from attempts never finished like the shared cache manager for Classic
- DSQL nodes that aren't used. This allowed freeing some keywords.
The functionality was disabled by commenting the code. No code has been deleted.
2004-10-03 04:49:04 +00:00
robocop
600a01d64e
Make compiler happy... nobody wants a cursor name with length 2^31
2004-09-26 07:41:39 +00:00
robocop
592d47e77e
Replace custom name_length() by the general one that uses the same logic
2004-09-26 07:26:42 +00:00
robocop
cc8beb54e5
Get rid of some reinterpret_cast's.
2004-09-09 09:24:42 +00:00
robocop
8c2bc04f38
Style
2004-09-09 08:56:33 +00:00
alexpeshkoff
9ff8b3b687
fixed problems, noticed by Claudio
2004-09-06 08:14:34 +00:00
dimitr
6ad51cf6e8
Fixed my mistake in the plan output. Noticed by Arno.
2004-09-02 07:10:34 +00:00
alexpeshkoff
c3db4aaa97
added (and used in sources) template to change and restore default pool
2004-08-30 18:11:08 +00:00