serendipity_event_trackback.php creates mysqlisch table

Found a bug? Tell us!!
Post Reply
ads
Regular
Posts: 93
Joined: Sun Oct 29, 2006 11:39 am

serendipity_event_trackback.php creates mysqlisch table

Post by ads »

Hello,

the trackback plugin contains SQL code to create a table - which is quite MySQL-specific:

Code: Select all

$sql = "CREATE TABLE {$serendipity['dbPrefix']}delayed_trackbacks (
id int(11) NOT NULL ,
timestamp int(10) unsigned default NULL,
PRIMARY KEY (id)
)";
At least on PostgreSQL, the "unsigned" fails - and since S9Y never shows any SQL errors, I only found this problem when checking the logfile.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: serendipity_event_trackback.php creates mysqlisch table

Post by garvinhicking »

Hi!

Thakns for reporting, I changed this to use our DB layer for {UNSIGNED} detection.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply