From 373b46730230486210adfcc9a0c9484921f8ade0 Mon Sep 17 00:00:00 2001 From: Timothy Flynn Date: Wed, 9 Feb 2022 16:02:49 -0500 Subject: [PATCH] LibSQL+SQLServer: Move LibSQL/SQLResult.[h,cpp] to LibSQL/Result.[h,cpp] Rename the file to match the new class name. --- Tests/LibSQL/TestSqlStatementExecution.cpp | 2 +- Userland/Libraries/LibSQL/AST/AST.h | 2 +- Userland/Libraries/LibSQL/CMakeLists.txt | 2 +- Userland/Libraries/LibSQL/{SQLResult.cpp => Result.cpp} | 2 +- Userland/Libraries/LibSQL/{SQLResult.h => Result.h} | 0 Userland/Services/SQLServer/ClientConnection.cpp | 2 +- Userland/Services/SQLServer/SQLStatement.h | 2 +- 7 files changed, 6 insertions(+), 6 deletions(-) rename Userland/Libraries/LibSQL/{SQLResult.cpp => Result.cpp} (98%) rename Userland/Libraries/LibSQL/{SQLResult.h => Result.h} (100%) diff --git a/Tests/LibSQL/TestSqlStatementExecution.cpp b/Tests/LibSQL/TestSqlStatementExecution.cpp index 9f4d4b1ef9..91f0ad728d 100644 --- a/Tests/LibSQL/TestSqlStatementExecution.cpp +++ b/Tests/LibSQL/TestSqlStatementExecution.cpp @@ -10,8 +10,8 @@ #include #include #include +#include #include -#include #include #include diff --git a/Userland/Libraries/LibSQL/AST/AST.h b/Userland/Libraries/LibSQL/AST/AST.h index 9109807305..a1d67f53da 100644 --- a/Userland/Libraries/LibSQL/AST/AST.h +++ b/Userland/Libraries/LibSQL/AST/AST.h @@ -14,7 +14,7 @@ #include #include #include -#include +#include #include namespace SQL::AST { diff --git a/Userland/Libraries/LibSQL/CMakeLists.txt b/Userland/Libraries/LibSQL/CMakeLists.txt index 26e2795a02..e25a7ccac8 100644 --- a/Userland/Libraries/LibSQL/CMakeLists.txt +++ b/Userland/Libraries/LibSQL/CMakeLists.txt @@ -18,11 +18,11 @@ set(SOURCES Index.cpp Key.cpp Meta.cpp + Result.cpp ResultSet.cpp Row.cpp Serializer.cpp SQLClient.cpp - SQLResult.cpp TreeNode.cpp Tuple.cpp Value.cpp diff --git a/Userland/Libraries/LibSQL/SQLResult.cpp b/Userland/Libraries/LibSQL/Result.cpp similarity index 98% rename from Userland/Libraries/LibSQL/SQLResult.cpp rename to Userland/Libraries/LibSQL/Result.cpp index 0f23a5953f..104c8ee4d3 100644 --- a/Userland/Libraries/LibSQL/SQLResult.cpp +++ b/Userland/Libraries/LibSQL/Result.cpp @@ -5,7 +5,7 @@ */ #include -#include +#include namespace SQL { diff --git a/Userland/Libraries/LibSQL/SQLResult.h b/Userland/Libraries/LibSQL/Result.h similarity index 100% rename from Userland/Libraries/LibSQL/SQLResult.h rename to Userland/Libraries/LibSQL/Result.h diff --git a/Userland/Services/SQLServer/ClientConnection.cpp b/Userland/Services/SQLServer/ClientConnection.cpp index d530b89ec7..2e7ff9e1af 100644 --- a/Userland/Services/SQLServer/ClientConnection.cpp +++ b/Userland/Services/SQLServer/ClientConnection.cpp @@ -6,7 +6,7 @@ #include #include -#include +#include #include #include #include diff --git a/Userland/Services/SQLServer/SQLStatement.h b/Userland/Services/SQLServer/SQLStatement.h index 3d845c1730..c3b991f9b0 100644 --- a/Userland/Services/SQLServer/SQLStatement.h +++ b/Userland/Services/SQLServer/SQLStatement.h @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include