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
robocop
27d4dbd374
Not an aesthetical achievement, but prevent us from making mistakes in the same place again. Put variables in their minimal scope.
2004-08-21 09:20:06 +00:00
dimitr
d667e17db5
Fixed uninitialized variable usage reported by Valgrind.
2004-08-20 02:08:39 +00:00
alexpeshkoff
31039a254e
next step preparing to allocate auto objects memory from appropriate pool
2004-08-16 12:28:43 +00:00
skidder
22f14639a0
Do not send stack and memory dumps to remote client when isc_dsql_sql_info and isc_dsql_prepare functions are used. Again, issue is pinpointed by Valgrind
2004-08-13 02:32:30 +00:00
brodsom
4d2979865a
Correction (noticed by Claudio)
2004-07-02 07:26:18 +00:00
brodsom
d2b64735c6
Removing wrong extra ;
2004-06-13 23:47:02 +00:00
alexpeshkoff
1591a54e5e
Thread cleanup:
...
1. Added macros to declare thread entrypoints
2. THD_mutex_* functions use Firebird::Mutex
3. Thread local storage use fb_tls.h
2004-06-08 13:41:08 +00:00
brodsom
06f7148859
-Replace *_thread_data macros with inline functions
2004-05-22 14:23:10 +00:00
brodsom
68cb86b274
- Remove *_THREAD_DATA definitions from thd.h, are unneeded and conflicts with definitions in providers/services main headers (which need to use undef).
...
- Use different names for each service/provider *_THREAD_DATA macros.
2004-05-19 18:14:29 +00:00
brodsom
b76a60e8b7
Move THREAD_ functions from thd.h to thread_proto.h (and fix unix build)
2004-05-17 22:30:09 +00:00
brodsom
ee34db7e20
Macro cleaning (THREAD_*)
2004-05-15 00:58:46 +00:00
brodsom
6ec150ac00
-Avoid gcc -pedantic warnings
2004-05-14 19:20:01 +00:00
robocop
802f244ec1
Misc changes
2004-05-09 05:48:33 +00:00
skidder
45fc09ce60
Fix bugs in my commit found by Claudio
2004-05-05 04:20:39 +00:00
skidder
43cb0d1ce4
Y-Valve handle translation layer
2004-05-02 23:06:37 +00:00
brodsom
a549091c94
- Split sqlda.h to avoid duplicated definitions between ibase.h and sqlda.h
...
- Replace define for constants
- Remove contants.h where not used.
2004-04-30 22:47:16 +00:00
brodsom
e0854daa99
Removing ib_stdio.h
2004-04-28 22:00:03 +00:00
alexpeshkoff
e0ce53cbec
fixed number problems after lls to Stack conversion
2004-04-21 14:23:46 +00:00
alexpeshkoff
045e9dc8ec
1. removed any mentions of blk_pool() from engine (and method itself)
...
2. replaced 'struct lls' with 'template Stack'
2004-04-18 14:22:27 +00:00
robocop
59b235cea3
Small corrections
2004-04-10 00:25:22 +00:00
alexpeshkoff
2934843020
fixed memory leak in execute statement
2004-03-31 17:27:08 +00:00
alexpeshkoff
7007d6f2a4
1. introduced Jrd and Ods namespaces
...
2. cleanup of blk* request conversions
3. fixed memory allocation in Execute Statement
2004-03-20 14:57:40 +00:00
robocop
f58c769c37
Cleanup. In geeky words:
...
PandoraBox* pbox = reinterpret_cast<PandoraBox*>(&can_of_worms);
pbox->open();
pbox->flush();
Nickolay may want to undo my ods.h changes if gcc insists
in its crusade against non-PODs and poodles.
2004-03-18 05:56:06 +00:00
skidder
c64f31b712
Fix some warnings from GCC/Linux build. Some of them were subtle errors
2004-03-12 07:00:52 +00:00