https://bugzilla.wikimedia.org/show_bug.cgi?id=46433

       Web browser: ---
            Bug ID: 46433
           Summary: survey not compatible with SQLite
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: Unprioritized
         Component: Survey
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified
   Mobile Platform: ---

20:16:35 A database query syntax error has occurred.
20:16:35 The last attempted database query was:
20:16:35 "CREATE TABLE IF NOT EXISTS surveys (
20:16:35  survey_id                INTEGER    NOT NULL AUTOINCREMENT PRIMARY
KEY,
20:16:35  survey_name              TEXT        NOT NULL, -- String indentifier
for the survey
20:16:35  survey_title             TEXT        NOT NULL, -- Title of the survey
20:16:35  survey_enabled           INTEGER             NOT NULL default '0', --
If the survey can be taken by users
20:16:35  survey_header            TEXT                NOT NULL, -- Text to
display above the survey
20:16:35  survey_footer            TEXT                NOT NULL, -- Text to
display below the survey
20:16:35  survey_thanks            TEXT                NOT NULL, -- Text to
display after survey submission
20:16:35  survey_user_type         INTEGER     NOT NULL default '0', -- Type of
users that can participate in the survey
20:16:35  survey_namespaces        BLOB                NOT NULL, -- Namespaces
on which the survey can be displayed
20:16:35  survey_ratio             INTEGER     NOT NULL, -- Percentage of users
to show the survey to
20:16:35  survey_expiry            INTEGER         NOT NULL, -- Coockie expiry
time for the survey
20:16:35  survey_min_pages         INTEGER     NOT NULL -- Min amount of pages
the user needs to view before getting the survey
20:16:35  )"
20:16:35 from within function "DatabaseBase::sourceFile(
/var/lib/jenkins/jobs/mwext-Survey-testextensions-master/workspace/extensions/Survey/sql/Survey.sql
)".
20:16:35 Database returned error "1: near "AUTOINCREMENT": syntax error"

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to