DB errors in glossary.install on PostgresQL 8.3

gathond - June 29, 2008 - 12:14
Project:Glossary
Version:5.x-2.6
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

PostgresQL 8.3 no longer performs automatic typecasts to (text), which makes updates 5100 and 5101 fail because delta is of type varchar and it is compared with integers.

The attached patch fixes this issue by adding ' ' around the integers and thereby causing them to be compared as text strings.
I don't think this patch should break anything as it should be a more proper way of doing this (not relying on an automatic conversion).

AttachmentSize
glossary.install.patch1 KB

#1

NancyDru - June 29, 2008 - 14:51
Status:needs review» fixed

Thanks. I also corrected the status of the drupal_set_message in uninstall.

Committed to 5.x-2.x-dev

#2

Anonymous (not verified) - July 13, 2008 - 14:52
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.