fix -> ALTER statements aren't passing by ConvertMap, so NUMBER is not being converted to NUMERIC

This commit is contained in:
Carlos Ruiz 2006-12-19 05:20:39 +00:00
parent b502de9fa5
commit 5b988c7076
1 changed files with 8 additions and 8 deletions

View File

@ -100,14 +100,14 @@ public class Convert_PostgreSQL extends Convert_SQL92
else if (isCreate && cmpString.indexOf(" VIEW ") != -1) else if (isCreate && cmpString.indexOf(" VIEW ") != -1)
result.addAll(convertView(statement)); result.addAll(convertView(statement));
//begin vpj-cd e-evolution 02/24/2005 PostgreSQL // begin vpj-cd e-evolution 02/24/2005 PostgreSQL
else if (cmpString.indexOf("ALTER TABLE") != -1) else if (cmpString.indexOf("ALTER TABLE") != -1)
{ {
result.add(convertDDL(statement)); result.add(convertDDL(converSimpleStatement(statement)));
} }
else if (cmpString.indexOf("ROWNUM") != -1) else if (cmpString.indexOf("ROWNUM") != -1)
{ {
result.add(convertRowNum(convertAlias(converSimpleStatement(statement)))); result.add(convertRowNum(convertAlias(converSimpleStatement(statement))));
} }
else if (cmpString.indexOf("DELETE ") != -1 && cmpString.indexOf("DELETE FROM") == -1) else if (cmpString.indexOf("DELETE ") != -1 && cmpString.indexOf("DELETE FROM") == -1)
{ {