• last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
make sure to populate global variable for different notations of the default database

Fix typos

  1. … 6 more files in changeset.
Make sure namespaced variable ::acs::db_pools is created before accessing it

This is needed when upgrading from openacs versions that didn't use this variable before

Fix typo

Port of downstream changes: use namespaced variables instead of nsvs

reduce hammering on nsv for variables that never change. Use namespaced variables instead.

  1. … 3 more files in changeset.
improve spelling

  1. … 8 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
Use per-thread caching instead of nsv for never-changing variable (use ::acs::database_type instead of nsv ad_database_type; when available)

This improves concurrency and performance for tight loops (e.g. in developer support)

  1. … 1 more file in changeset.
- remove unneeded braces

- Use global variables to reduce lock contention on busy sites:

* $::acs::default_database replaces [nsv_get db_default_database .]

* $::acs::known_database_types replaces [nsv_get ad_known_database_types .]

- Cache db_driverkey per-thread (variable ::acs::db_driverkey($dbn))

to reduce high number of locks

  1. … 4 more files in changeset.
- improve linebreak

- keep error message

- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 754 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- get rid of old-style parameter passing

  1. … 1 more file in changeset.
- get rid of empty_string_p

  1. … 20 more files in changeset.
Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
Updated to work with Oracle 10. Was using Oracle8 hardcoded -- the new

code is is more flexible with what the driver calls itself.

  1. … 1 more file in changeset.
OpenNSD is kaput

add =t =f to boolean flags, fix docs, some cleanup on logging

  1. … 1 more file in changeset.
Trivial tweak to syntax of db_available_pools proc.

  1. … 3 more files in changeset.
Completed db_* api multi-database support. Can now use db api for

both Oracle and PostgreSQL at the same time.

  1. … 3 more files in changeset.
Added base multi-db support to the db_* API.

  1. … 6 more files in changeset.

1. Fixed a boneheaded error in the bootstrapper: "AvailablePool" was being

submitted to a case-sensitive check. Of course AOLserver parameters are

case-insensitive.

2. A recently submitted patch to the db routine that PSQL's source broke

the code if you haven't started postmaster with the "-i" option.

3. Bboard was very, very slow in PG. It is now much faster.

  1. … 3 more files in changeset.

Moved the bootstrap and installer stuff into their own mini-package, which

let me clean up the loading of acs-tcl a bit and isolate all the bits of

APM-knowledge required in the pre-acs-tcl bootstrapping process into a single

apm file. In general, bootstrap.tcl is cleaner and easier to read.

    • -0
    • +167
    ./20-db-bootstrap-procs.tcl
  1. … 37 more files in changeset.