1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-21 22:32:41 +01:00

call qsprintf() without warnings

Summary:
After T13217 import_repository_symbols.php was showing a lot of warnings, using %LQ fixes that.
I'm aware, that there are changes planned to the whole managing the symbols complex but until then less warnings are nice.

Test Plan: No more warnings when updating symbols

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: Korvin, epriestley

Differential Revision: https://secure.phabricator.com/D19962
This commit is contained in:
Marc Lindenberg 2019-01-14 09:41:31 -08:00 committed by epriestley
parent e8069dfe31
commit 360ebce00f

View file

@ -110,9 +110,9 @@ function commit_symbols(
$conn_w,
'INSERT INTO %T
(repositoryPHID, symbolContext, symbolName, symbolType,
symbolLanguage, lineNumber, pathID) VALUES %Q',
symbolLanguage, lineNumber, pathID) VALUES %LQ',
$symbol->getTableName(),
implode(', ', $chunk));
$chunk);
}
}