Better error handling when the shared db doesn't exist.

Rev: server/modules/tags/session_tag.pike:1.29
Let the caller know if the session table could be set up.

Rev: server/base_server/cache.pike:1.147
Bugfix last commit to make sure emit#languages works when no language is selected.

Rev: server/modules/misc/preferred_language.pike:1.42
Bugfix emit#languages to make _.current emit a language string instead of an array.

Rev: server/modules/misc/preferred_language.pike:1.43
Version bumped to 5.2.8 by buildsystem.

Rev: server/etc/include/version.h:1.1604
Version bumped to 5.2.9 by buildsystem.

Rev: server/etc/include/version.h:1.1605
Version bumped to 5.2.10 by buildsystem.

Rev: server/etc/include/version.h:1.1606
Another approach to the sql connection charset setup problem.

This should ensure that there is no lingering state from the earlier
connection. E.g. if the previous connection user specified charset
"unicode" but then did set_unicode_decode_mode(0), the next user of
the connection wouldn't get full unicode mode with "unicode" (or
"broken-unicode").

Rev: server/base_server/roxenloader.pike:1.447
Implemented %q expansion. Fixes [bug 5930].

Rev: server/modules/filters/hostredirect.pike:1.40
Stash the rxml context while executing subrequests in try_get_file.

This fixes bugs when subrequests do things like id->add_response_header or
id->set_output_charset outside an rxml context, in which case those changes
could get stored in result p-code for the outer request. Note that p-code
produced before this patch may be incorrect, and it's not flushed
automatically.

Fixes [bug 5940].

Rev: server/base_server/configuration.pike:1.717
Added iterator support to the sql connection wrapper.

Rev: server/base_server/roxenloader.pike:1.448
Fix the connection charset after releasing the sq_cache_lock.

To lessen the contention on that global lock, especially when some
connections go to remote slow db servers. Fixes [bug 5961].

Rev: server/base_server/roxenloader.pike:1.449
Rev: server/etc/modules/DBManager.pmod:1.100
Shortened the DBManager connection timeout to 1 minute.

Also made it possible to override it with a define DB_CONNECTION_TIMEOUT.
Addresses [bug 5964], although not completely (the bug can still occur if
the mysql server restarts within the cache time).

Rev: server/base_server/roxenloader.pike:1.450
Removed some unnecessary tests in shortDateTime.

(I may not be a javascript wiz, but I'm pretty sure that variable
cannot become empty in that code range. If not, please hit me.)

Rev: server/modules/js-support/scripts/roxen/lib/lib.js:1.5
Added a flag to force time into shortDateTime.

Rev: server/modules/js-support/scripts/roxen/lib/lib.js:1.6
Temporarily reverted the preceding fix since the config interface needs
fixing for it to work.

Rev: server/base_server/configuration.pike:1.718
Try to keep db connections with connect errors from getting back into the
connection pool.

Note that this fix only detects connection errors produced by the mysql
glue. Fixes the regression noted in [bug 5969] anyway.

Rev: server/base_server/roxenloader.pike:1.451
Version bumped to 5.2.11 by buildsystem.

Rev: server/etc/include/version.h:1.1607
Version bumped to 5.2.12 by buildsystem.

Rev: server/etc/include/version.h:1.1608
Version bumped to 5.2.13 by buildsystem.

Rev: server/etc/include/version.h:1.1609