From 923639283d2bae0b82cb605fa4680a3058c9d973 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 25 Jul 2012 12:13:38 +0200 Subject: Add support for defining indexes New db pragma qualifier: index. New tests: common/index, mysql/index, pgsql/index. --- odb/location.cxx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 odb/location.cxx (limited to 'odb/location.cxx') diff --git a/odb/location.cxx b/odb/location.cxx new file mode 100644 index 0000000..ba8d9a7 --- /dev/null +++ b/odb/location.cxx @@ -0,0 +1,14 @@ +// file : odb/location.cxx +// copyright : Copyright (c) 2009-2012 Code Synthesis Tools CC +// license : GNU GPL v3; see accompanying LICENSE file + +#include +#include + +location:: +location (location_t l) + : file (location_file (l)), + line (location_line (l)), + column (location_column (l)) +{ +} -- cgit v1.1