C++DB is the database layer that was designed to work with C++CMS. This customized version is used within Ye Ol' Pi Shack.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Jon Foster b7d49ef59d Add >> and << operators for bool to SQL int 3 years ago
cppdb Add >> and << operators for bool to SQL int 3 years ago
docs Initial import v0.3.1 3 years ago
drivers Final (I think) MySQL auto-reconnect bug fix! 3 years ago
examples Initial import v0.3.1 3 years ago
html Initial import v0.3.1 3 years ago
src Initial import v0.3.1 3 years ago
test Add >> and << operators for bool to SQL int 3 years ago
.gitignore 1st pass fix to get MySQL auto-reconnecting 3 years ago
CMakeLists.txt Initial import v0.3.1 3 years ago
Doxyfile Initial import v0.3.1 3 years ago
LICENSE_1_0.txt Initial import v0.3.1 3 years ago
MIT.txt Initial import v0.3.1 3 years ago
README.md Add >> and << operators for bool to SQL int 3 years ago
copyright.txt Initial import v0.3.1 3 years ago
cppdb.dpak Add >> and << operators for bool to SQL int 3 years ago
template_header.h Initial import v0.3.1 3 years ago

README.md

C++DB by ChipMaster

This build is specifically for use in Ye Ol’ Pi Shack development and things that I at JF Possibilities, Inc. make. This deviates from the official package in the following way:

  1. MySQL client connections default to opt_reconnect=1.
  2. The prepared query cache feature has been patched so that opt_reconnect actually works instead of caching lost connection errors.
  3. I added » « operators for bools in queries. These transalte to the defacto 0/1 int in SQL.
  4. Oh, yeah, I also included the “dpak” file I used to build the .deb in my source repo. See cppdb.dpak. But you need my DPAK tool to use it. And so far I haven’t released it to the world. Its no where near ready enough...

Might be other changes later. But change 2, in particular, prevents random 500 errors on the site.