diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-10-08 14:44:46 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2023-10-08 14:44:46 +0100 |
commit | 5ff1709a9e039ec155caecd6d0ea3c512f4be3cb (patch) | |
tree | c93c1e7c30bfae1b634911af0395ea9d5a40ea4e /libpqpp/pq-column.cpp | |
parent | Use proper defines for column types (diff) | |
download | libdbpp-postgresql-5ff1709a9e039ec155caecd6d0ea3c512f4be3cb.tar.bz2 libdbpp-postgresql-5ff1709a9e039ec155caecd6d0ea3c512f4be3cb.tar.xz libdbpp-postgresql-5ff1709a9e039ec155caecd6d0ea3c512f4be3cb.zip |
Reformat with new clang-format
Diffstat (limited to 'libpqpp/pq-column.cpp')
-rw-r--r-- | libpqpp/pq-column.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libpqpp/pq-column.cpp b/libpqpp/pq-column.cpp index e85ead5..cd0d60c 100644 --- a/libpqpp/pq-column.cpp +++ b/libpqpp/pq-column.cpp @@ -72,8 +72,7 @@ PQ::Column::apply(DB::HandleField & h) const h.floatingpoint(atof(value())); break; case TIMEOID: - case INTERVALOID: - { + case INTERVALOID: { int days = 0, hours = 0, minutes = 0, seconds = 0, fractions = 0, flen1 = 0, flen2 = 0; const char * val = value(); // NOLINTNEXTLINE(hicpp-vararg) @@ -97,8 +96,7 @@ PQ::Column::apply(DB::HandleField & h) const case TIMESTAMPTZOID: h.timestamp(boost::posix_time::time_from_string(value())); break; - case BYTEAOID: - { + case BYTEAOID: { if (buf) { PQfreemem(buf); } |