mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:27:35 +00:00
Everywhere: Rename to_{string => deprecated_string}() where applicable
This will make it easier to support both string types at the same time while we convert code, and tracking down remaining uses. One big exception is Value::to_string() in LibJS, where the name is dictated by the ToString AO.
This commit is contained in:
parent
6e19ab2bbc
commit
57dc179b1f
597 changed files with 1973 additions and 1972 deletions
|
@ -99,7 +99,7 @@ SQL::ResultOr<void> SQLStatement::parse()
|
|||
m_statement = parser.next_statement();
|
||||
|
||||
if (parser.has_errors())
|
||||
return SQL::Result { SQL::SQLCommand::Unknown, SQL::SQLErrorCode::SyntaxError, parser.errors()[0].to_string() };
|
||||
return SQL::Result { SQL::SQLCommand::Unknown, SQL::SQLErrorCode::SyntaxError, parser.errors()[0].to_deprecated_string() };
|
||||
return {};
|
||||
}
|
||||
|
||||
|
@ -129,7 +129,7 @@ void SQLStatement::next()
|
|||
}
|
||||
if (m_index < m_result->size()) {
|
||||
auto& tuple = m_result->at(m_index++).row;
|
||||
client_connection->async_next_result(statement_id(), tuple.to_string_vector());
|
||||
client_connection->async_next_result(statement_id(), tuple.to_deprecated_string_vector());
|
||||
deferred_invoke([this]() {
|
||||
next();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue