Skip to content

Commit

Permalink
Upgrade Sqlite to 3.24
Browse files Browse the repository at this point in the history
  • Loading branch information
shawnw committed Jun 6, 2018
1 parent bc97947 commit 4ffde41
Show file tree
Hide file tree
Showing 6 changed files with 5,688 additions and 3,476 deletions.
4 changes: 2 additions & 2 deletions CHANGES.187.md
Expand Up @@ -28,7 +28,7 @@ Major Changes
* Penn now comes with the Sqlite3 database engine bundled with it, and uses it internally in a few ways: * Penn now comes with the Sqlite3 database engine bundled with it, and uses it internally in a few ways:
* 3 different tables for looking up color names are combined into a single table. * 3 different tables for looking up color names are combined into a single table.
* Per-object auxilliary data keys (objdata) are handled in sql. * Per-object auxilliary data keys (objdata) are handled in sql.
* Player names and aliases are handled in sql, making some operations on them simpler. * Player names and alias lists are handled in sql, making some operations on them simpler.
* Suggests alternatives for unknown function names, flags, powers and help entries, and a softcode interface to the suggestion engine. * Suggests alternatives for unknown function names, flags, powers and help entries, and a softcode interface to the suggestion engine.
* @entrances and entrances() no longer scan the entire database. * @entrances and entrances() no longer scan the entire database.
* Help files are stored in a database, with an expanded help/search that supports full text search. See `HELP SEARCHING` for details. * Help files are stored in a database, with an expanded help/search that supports full text search. See `HELP SEARCHING` for details.
Expand Down Expand Up @@ -58,7 +58,7 @@ Softcode
* `orflags()`, `orlflags()`, `andflags()`, `andlflags()`, and the power versions no longer return errors on unknown flags/powers. They instead treat the unknown one as if it wasn't set. Suggested by Qon. [1180]. * `orflags()`, `orlflags()`, `andflags()`, `andlflags()`, and the power versions no longer return errors on unknown flags/powers. They instead treat the unknown one as if it wasn't set. Suggested by Qon. [1180].
* `sqlescape()` when using a sqlite3 connection no longer also requires MySQL. * `sqlescape()` when using a sqlite3 connection no longer also requires MySQL.
* `timecalc()` and `secscalc()` for adding/subtracting intervals from times. * `timecalc()` and `secscalc()` for adding/subtracting intervals from times.
* `@suggest` and `suggest()` for user-defined word suggestion dictionaries. * `@suggest` and `suggest()` for user-defined spellchecking. Loads */usr/share/dict/words* or another configurable wordlist by default.
* `connlog()` and `connrecord()` for interfacing with enhanced connection logs. * `connlog()` and `connrecord()` for interfacing with enhanced connection logs.
* `soundex()` and `soundslike()` now support a second phonetic hash besides soundex. * `soundex()` and `soundslike()` now support a second phonetic hash besides soundex.
* Side-effect version of link() now returns 1 on success, 0 or #-1 on failure. [MT] * Side-effect version of link() now returns 1 on success, 0 or #-1 on failure. [MT]
Expand Down
2 changes: 1 addition & 1 deletion README.SQL.md
Expand Up @@ -95,7 +95,7 @@ location (`where pg_config` if the program works for you, `find /
Sqlite Sqlite
------ ------


PennMUSH comes with Sqlite3 3.23.1 as part of its source. It is the PennMUSH comes with Sqlite3 3.24.0 as part of its source. It is the
suggested SQL engine for use with softcode unless you need the suggested SQL engine for use with softcode unless you need the
capabilities of one of the others. capabilities of one of the others.


Expand Down
10 changes: 6 additions & 4 deletions game/txt/hlp/pennv187.hlp
Expand Up @@ -22,7 +22,7 @@ Major Changes:


* 3 different tables for looking up color names are combined into a single table. * 3 different tables for looking up color names are combined into a single table.
* Per-object auxilliary data keys (objdata) are handled in sql. * Per-object auxilliary data keys (objdata) are handled in sql.
* Player names and aliases are handled in sql, making some operations on them simpler. * Player names and alias lists are handled in sql, making some operations on them simpler.
* Suggests alternatives for unknown function names, flags, powers and help entries, and a softcode interface to the suggestion engine. * Suggests alternatives for unknown function names, flags, powers and help entries, and a softcode interface to the suggestion engine.
* @entrances and entrances() no longer scan the entire database. * @entrances and entrances() no longer scan the entire database.
* Help files are stored in a database, with an expanded help/search that supports full text search. See HELP SEARCHING for details. * Help files are stored in a database, with an expanded help/search that supports full text search. See HELP SEARCHING for details.
Expand All @@ -46,13 +46,15 @@ Softcode:
* json_query(str, unescape) handles unicode escape sequences. * json_query(str, unescape) handles unicode escape sequences.
* json(string, foo) escapes non-ascii characters. * json(string, foo) escapes non-ascii characters.
* clone() now takes an optional fourth argument to act like @clone/preserve [797] * clone() now takes an optional fourth argument to act like @clone/preserve [797]
* New and flags for scan() give finer control of what to scan. [MG] * New ‘me’ and ‘inventory’ flags for scan() give finer control of what to scan. [MG]
* orflags(), orlflags(), andflags(), andlflags(), and the power versions no longer return errors on unknown flags/powers. They instead treat the unknown one as if it wasn’t set. Suggested by Qon. [1180]. * orflags(), orlflags(), andflags(), andlflags(), and the power versions no longer return errors on unknown flags/powers. They instead treat the unknown one as if it wasn’t set. Suggested by Qon. [1180].
* sqlescape() when using a sqlite3 connection no longer also requires MySQL. * sqlescape() when using a sqlite3 connection no longer also requires MySQL.
* timecalc() and secscalc() for adding/subtracting intervals from times. * timecalc() and secscalc() for adding/subtracting intervals from times.
* @suggest and suggest() for user-defined word suggestion dictionaries. * @suggest and suggest() for user-defined spellchecking. Loads /usr/share/dict/words or another configurable wordlist by default.
* connlog() and connrecord() for interfacing with enhanced connection logs. * connlog() and connrecord() for interfacing with enhanced connection logs.
* soundex() and soundslike() now support a second phonetic hash besides soundex. * soundex() and soundslike() now support a second phonetic hash besides soundex.
* Side-effect version of link() now returns 1 on success, 0 or #-1 on failure. [MT]
* owner() now accepts two optional arguments, allowing ownership to be changed as in @chown and @atrchown. [MT]


Fixes: Fixes:


Expand All @@ -63,7 +65,7 @@ Fixes:
* Make sure sigrecv_ack() won’t hang the mush if it somehow gets called at the wrong time. Also fix a file descriptor leak in the signal handling code. [SW] * Make sure sigrecv_ack() won’t hang the mush if it somehow gets called at the wrong time. Also fix a file descriptor leak in the signal handling code. [SW]
* Pass pe_info into IDLE and HAVEN attributes from the page command. [MG] * Pass pe_info into IDLE and HAVEN attributes from the page command. [MG]
* The x and X options to align() now always truncate to the column width, rather than incorrectly truncating at a space. Reported by Qon. [MG, 1178] * The x and X options to align() now always truncate to the column width, rather than incorrectly truncating at a space. Reported by Qon. [MG, 1178]
* json_query() didn’t understand an action of as documented. [SW] * json_query() didn’t understand an action of ‘type’ as documented. [SW]
* Assorted help file fixes. [SW] * Assorted help file fixes. [SW]
* @clone without /preserve wasn’t stripping privileged flags and such. [1190,SW] * @clone without /preserve wasn’t stripping privileged flags and such. [1190,SW]
* @chown/preserve was resetting wiz-bit despite it’s help file indicating otherwise. [1187] PR by Qon. * @chown/preserve was resetting wiz-bit despite it’s help file indicating otherwise. [1187] PR by Qon.
Expand Down

0 comments on commit 4ffde41

Please sign in to comment.