<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Folks,<br>
      <br>
      As some of you know, lately we have been having problems with RCDB
      reading its data from an SQLite file using the C++ API. The main
      customer for this is mcsmear. For the last couple of months we
      have been relying on MySQL servers for RCDB data (via C++).
      Because of the small volume of data needed from the RCDB, this has
      not been killing us.<br>
      <br>
      This has now been fixed with the new GlueX code currently on
      branches of their respective repositories. There are three
      packages that need to be updated and a new one that needs to be
      installed:<br>
      <br>
      Upgrade:<br>
    </p>
    <ul>
      <li>RCDB (branch  = sqlitecpp_standalone)</li>
      <li>sim-recon (branch = sqlitecpp_standalone)</li>
      <li>build_scripts (branch = make_sqlitecpp)<br>
      </li>
    </ul>
    <p>Install:<br>
    </p>
    <ul>
      <li>SQLiteCpp (version 2.2.0)<br>
      </li>
    </ul>
    <p>All four of these changes have to installed for the fix to work.
      Installing one without the others with break the build.<br>
      <br>
      Some testing has been done. In particular, the b1pi test runs
      mcsmear successfully with an SQLite version of the database.<br>
      <br>
      Note that SQLiteCpp was already part of the old RCDB version; it
      came included with the RCDB source. That implementation did not
      work with sim-recon. We are dropping back to a source code
      distribution from the original author. See the new
      Makefile_sqlitecpp in build_scripts for the GitHub repository.<br>
      <br>
      I've not yet merged any of these changes onto any of the master
      branches. My proposal is to prepare public versions of RCDB,
      SQLiteCpp, and build_scripts at JLab, and then submit a pull
      request for the change to sim-recon. When that gets merged I can
      create a tagged version and build that with the appropriate
      version set (version.xml).<br>
      <br>
      Let me know what you think. We can discuss it further at Friday's
      offline meeting if necessary.<br>
      <br>
        -- Mark<br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Mark Ito, <a class="moz-txt-link-abbreviated" href="mailto:marki@jlab.org">marki@jlab.org</a>, (757)269-5295
</pre>
  </body>
</html>