diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-16 21:45:30 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2008-01-16 21:45:30 +0000 |
commit | 7f85bc5bc407faeae64be7dcfbad3f5ab50aa44b (patch) | |
tree | ad5660703b05af7aca3544140b55cb57510b359d /modules/comment | |
parent | 525539777569cd7371db908908553dcdadd8c62d (diff) | |
download | brdo-7f85bc5bc407faeae64be7dcfbad3f5ab50aa44b.tar.gz brdo-7f85bc5bc407faeae64be7dcfbad3f5ab50aa44b.tar.bz2 |
#208938 by bjaspan, scor: use schema PI for index updates instead of database dependent code
Diffstat (limited to 'modules/comment')
-rw-r--r-- | modules/comment/comment.install | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/comment/comment.install b/modules/comment/comment.install index 7da948b0e..959d63732 100644 --- a/modules/comment/comment.install +++ b/modules/comment/comment.install @@ -62,7 +62,8 @@ function comment_update_6002() { * Add index to parent ID field. */ function comment_update_6003() { - $ret[] = update_sql("ALTER TABLE {comments} ADD KEY pid (pid)"); + $ret = array(); + db_add_index($ret, 'comments', 'pid', array('pid')); return $ret; } |