mirror of
https://github.com/OpenNebula/one.git
synced 2025-08-24 17:49:28 +03:00
F #3600: Fix index
This commit is contained in:
@ -848,7 +848,7 @@ class BackEndPostgreSQL < OneDBBacKEnd
|
||||
def self.preprocess_query(query)
|
||||
return query unless query.upcase.start_with?('REPLACE')
|
||||
|
||||
query[0, 6] = 'INSERT'
|
||||
query[0, 7] = 'INSERT'
|
||||
|
||||
table_start = query.index('INTO ', 7) + 5
|
||||
names_start = query.index('(', table_start) + 1
|
||||
|
Reference in New Issue
Block a user