mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 20:12:14 +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);
|
$result = $this->_query ($query);
|
||||||
|
|
||||||
if (cubrid_num_rows ($result) > 0)
|
if (cubrid_num_rows($result) > 0)
|
||||||
{
|
{
|
||||||
$output = true;
|
$output = true;
|
||||||
}
|
}
|
||||||
|
|
@ -501,7 +501,7 @@
|
||||||
{
|
{
|
||||||
foreach ($unique_list as $key => $val)
|
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);
|
$this->_query ($query);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -510,7 +510,7 @@
|
||||||
{
|
{
|
||||||
foreach ($index_list as $key => $val)
|
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);
|
$this->_query ($query);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue