00-database-procs.tcl

  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- fix bug #2536

- modernize tcl

- modernize tcl

- remove unneeded "expr" in side if-expressions

  1. … 13 more files in changeset.
- we can't get rid of "cd", since sourced sql-files include as well files with relative paths

- windows changes

- use tcl 8.5 idioms

- db_flush_cache: do not retrieve all keys from the cache if not necessary. These array operation can cause long mutex lock times.

next_row instead of this_row has to be unset at this point.

- use absolute name to avoid namespace confusions

- use "unset -nocomplain ..." instead of exists test

- get rid of "global" statements

Merged oacs-5-6 to HEAD. HEAD now installs and passes all core tests. There

may still be some lingering problems due to my screwing up the oacs-5-6

branch earlier, I'll be looking into this later.

  1. … 214 more files in changeset.
Removing duplicated -private switch.

Changed db_flush to use the ns_cache names pattern construct to only return

the matching names, rather than return all names then flush those that match

the pattern (I was unaware that names took a pattern arg, how embarrasing!)

OCD repair of the hard coded @cvs-id strings

  1. … 14 more files in changeset.
Got rid of noisesome notice ...

CVS merge made a hash of the db_nextval code (gustaf's improved version,

my rollback, his improved improved version apparently confused it).

Merged from 5.4.2

  1. … 283 more files in changeset.
Relaxed the db_multirow restriction on appending when cached to allow it if

the multirow is empty.

new version of sequence name caching; use now system catalogs as last ressort

Commented out Gustaf's broken version of db_nextval, and replaced it with

the slower, but *correct*, earlier version. The "improved" version can be

commented back in locally for those who don't care about correctness. Or

it can be corrected and put back in if someone cares to fix it.

Commented out Gustaf's broken version of db_nextval, and replaced it with

the slower, but *correct*, earlier version. The "improved" version can be

commented back in locally for those who don't care about correctness. Or

it can be corrected and put back in if someone cares to fix it.

Remove historical debugging log statement! (finally)

Get rid of the postgres warning "adding missing FROM-clause entry " on sequences

Make "db_nextval acs_object_id_seq" more than twice as fast (from 948 microseconds to 378 microseconds)

  1. … 9 more files in changeset.
rollback last commit on unrelated files

  1. … 2 more files in changeset.
fix a bug in ad_html_to_text: This function breaks, when it encounters a (valid) entity like &0038;

The problem was, that the old code interpreted the numeric value of the entity as an octal value

because it starts with leading zeros.

  1. … 3 more files in changeset.
Merged the 5.3 branch with HEAD. Look for tags with the pattern

drb-*-20070513

  1. … 324 more files in changeset.
Fixed a caching bug ...

fix db_string to work with different databases

db_string was totally ignoring the -dbn swith!!

Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.