mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
fixed create index name
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7808 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4593e3b688
commit
f0549e3458
1 changed files with 3 additions and 3 deletions
|
|
@ -260,7 +260,7 @@
|
|||
|
||||
$result = $this->_query ($query);
|
||||
|
||||
if (cubrid_num_rows ($result) > 0)
|
||||
if (cubrid_num_rows($result) > 0)
|
||||
{
|
||||
$output = true;
|
||||
}
|
||||
|
|
@ -501,7 +501,7 @@
|
|||
{
|
||||
foreach ($unique_list as $key => $val)
|
||||
{
|
||||
$query = sprintf ("create unique index \"%s_%s\" on \"%s\" ". "(%s);", $table_name, $key, $table_name, '"'.implode('","', $val).'"');
|
||||
$query = sprintf ("create unique index \"%s\" on \"%s\" ". "(%s);", $key, $table_name, '"'.implode('","', $val).'"');
|
||||
$this->_query ($query);
|
||||
}
|
||||
}
|
||||
|
|
@ -510,7 +510,7 @@
|
|||
{
|
||||
foreach ($index_list as $key => $val)
|
||||
{
|
||||
$query = sprintf ("create index \"%s_%s\" on \"%s\" (%s);", $table_name, $key, $table_name, '"'.implode('","',$val).'"');
|
||||
$query = sprintf ("create index \"%s\" on \"%s\" (%s);", $key, $table_name, '"'.implode('","',$val).'"');
|
||||
$this->_query ($query);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue