[Rt-commit] rt branch, 4.2/64bit-sphinx, created. rt-4.2.3-87-g378c7e3

Alex Vandiver alexmv at bestpractical.com
Tue Apr 22 14:14:23 EDT 2014


The branch, 4.2/64bit-sphinx has been created
        at  378c7e352916494000db735fae550f22eae2b5e7 (commit)

- Log -----------------------------------------------------------------
commit 378c7e352916494000db735fae550f22eae2b5e7
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Tue Apr 22 14:11:24 2014 -0400

    Support Sphinx builds compiled with --enable-id64
    
    Sphinx 2.2.1 and above default to 64-bit document ids, and earlier
    versions shipped a compile-time configuration flag to enable them.
    Create the SphinxSE table with a "BIGINT" id column, which works for
    both 64-bit and 32-bit document ids.

diff --git a/sbin/rt-setup-fulltext-index.in b/sbin/rt-setup-fulltext-index.in
index 5e63456..acbcc4a 100644
--- a/sbin/rt-setup-fulltext-index.in
+++ b/sbin/rt-setup-fulltext-index.in
@@ -157,7 +157,7 @@ if ( $DB{'type'} eq 'mysql' ) {
 
     my $schema = <<END;
 CREATE TABLE $table (
-    id     INTEGER UNSIGNED NOT NULL,
+    id     BIGINT NOT NULL,
     weight INTEGER NOT NULL,
     query  VARCHAR(3072) NOT NULL,
     INDEX(query)

-----------------------------------------------------------------------


More information about the rt-commit mailing list