mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-25 02:50:08 +03:00
F #3600: Fix index
This commit is contained in:
parent
5158f956cb
commit
c3e5eb90ae
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user