Skip to content

Commit 360ebce

Browse files
Marc Lindenbergepriestley
authored andcommitted
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
1 parent e8069df commit 360ebce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/symbols/import_repository_symbols.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ function commit_symbols(
110110
$conn_w,
111111
'INSERT INTO %T
112112
(repositoryPHID, symbolContext, symbolName, symbolType,
113-
symbolLanguage, lineNumber, pathID) VALUES %Q',
113+
symbolLanguage, lineNumber, pathID) VALUES %LQ',
114114
$symbol->getTableName(),
115-
implode(', ', $chunk));
115+
$chunk);
116116
}
117117
}
118118

0 commit comments

Comments
 (0)