Last modified: 2013-01-18 21:19:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T44324, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42324 - SQLStore3 does not work on SQLSite
SQLStore3 does not work on SQLSite
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-21 13:11 UTC by Jeroen De Dauw
Modified: 2013-01-18 21:19 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Jeroen De Dauw 2012-11-21 13:11:59 UTC
Selected storage engine is "SMWSQLStore" (or an extension thereof)

Checking table smw_object_ids ...
   Table not found, now creating...
A database query syntax error has occurred.
The last attempted database query was:
"CREATE TABLE smw_object_ids (smw_id  INTEGER NOT NULL KEY AUTO_INCREMENT,smw_namespace  INT(11) NOT NULL,smw_title  VARBINARY(255) NOT NULL,smw_iw  TEXT NOT NULL,smw_subobject  VARBINARY(255) NOT NULL,smw_sortkey  VARBINARY(255) NOT NULL,smw_proptable_hash  MEDIUMBLOB) "
from within function "SMWSQLHelpers::createTable".
Database returned error "1: near "KEY": syntax error

On a new install, using MW 1.21 alpha efb075268dffaf65d30b57b6874cb1dddfe60efb and SMW 1.8 beta 7e0db091c35969c7a32a8763ff13d5d465da69af
Comment 1 Nischay Nahata 2012-11-21 15:50:07 UTC
The problem seems to be caused because of different syntax of sqllite

http://www.sqlite.org/syntaxdiagrams.html#column-def

https://gerrit.wikimedia.org/r/#/c/34541/
Comment 2 Jeroen De Dauw 2012-11-21 16:20:19 UTC
That commit solves the first issue, this is the next one :)

Selected storage engine is "SMWSQLStore" (or an extension thereof)

Checking table smw_object_ids ...
   Table not found, now creating...
   ... done.
Checking table smw_concept_cache ...
   Table not found, now creating...
   ... done.
Checking table smw_prop_stats ...
   Table not found, now creating...
A database query syntax error has occurred.
The last attempted database query was:
"CREATE TABLE smw_prop_stats (p_id  INTEGER,usage_count  INT(8) UNSIGNED) "
from within function "SMWSQLHelpers::createTable".
Database returned error "1: near "UNSIGNED": syntax error"
Comment 3 Nischay Nahata 2012-11-21 19:49:27 UTC
Please test with https://gerrit.wikimedia.org/r/#/c/34572/
Comment 4 Nischay Nahata 2013-01-18 17:24:44 UTC
(In reply to comment #3)
> Please test with https://gerrit.wikimedia.org/r/#/c/34572/
abandoned.

with https://gerrit.wikimedia.org/r/#/c/44624/ already merged can we consider this fixed?
Comment 5 Jeroen De Dauw 2013-01-18 21:19:09 UTC
Yes, this is fixed

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links