Current time: 03-19-2010, 11:22 AM Hello There, Guest! (LoginRegister)


 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] forumsread doesn't work with postgres
08-26-2008, 11:10 AM
Post: #1
[F] forumsread doesn't work with postgres
Hello,

I have discovered a new bug with postgresql. If you want to mark all threads as read, a query with "REPLACE" is started. But postgresql does not know the command REPLACE.
Code:
MyBB has experienced an internal SQL error and cannot continue.
SQL Error:
42601 - ERROR: syntax error at or near "REPLACE" LINE 2: REPLACE INTO zero_forumsread (fid, uid, dateline) ^
Query:
REPLACE INTO zero_forumsread (fid, uid, dateline) VALUES ('1', '1', '1219749009')
Find all posts by this user
08-27-2008, 10:11 PM
Post: #2
RE: forumsread doesn't work with postgres
Try this. Goes in inc/


Attached File(s)
.php  functions_indicators.php (Size: 6.65 KB / Downloads: 83)

[Image: ryangordon.png]
My Blog - My Mods
Visit this user's website Find all posts by this user
08-27-2008, 10:11 PM
Post: #3
[F] forumsread doesn't work with postgres
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.

[Image: ryangordon.png]
My Blog - My Mods
Visit this user's website Find all posts by this user


Forum Jump: