00-database-procs.tcl

  • last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- get rid of old-style parameter passing

- flatten nested "lindex" structures

- merge multiple "lappend" operations

- use "lassign" instead of multiple "lindex" operations

- improve performance util_convert_line_breaks_to_html by reducing

number of regsub operations and more precise regular expressions

- use numeric comparison operator for truth value comparisons

- use "lassign" instead of multiple "lindex" operations

- reduce number of remaining "string equal" operations

  1. … 13 more files in changeset.
- don't use backslash in multiline expressions

- make long expressions more uniform and more readable

- use "in" or not in (ni) operator instead of lsearch

- brace expressions to allow for tcl compilation

- bump version number

  1. … 23 more files in changeset.
- use tcl 8.5 extended index format for "string range"

- modernize tcl

  1. … 6 more files in changeset.
- use tcl 8.5 extended index format for "lindex"

- use tcl 8.5 extended index format for "lrange"

- use tcl 8.5 expand operator instead of "eval lappend ..." idiom

  1. … 7 more files in changeset.
Removing extra ]'s.

- 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.