title: how to use tntdb classes to update string values in Sqlite database
body: <p>hi i am getting a problem while using tntdb classes in my c++ code only integer values atr updating in database while string values are updating as garbage values i am giving my code below please help me out to solve this issue</p>
  
  <pre><code>#include &lt;tntdb/connection.h&gt;
  #include &lt;tntdb/connect.h&gt;
  #include &lt;stdio.h&gt;
  #include &lt;string&gt;
  #include &lt;sys/shm.h&gt;
  
  using namespace std;
  
  int main()
  {
      string s="create table test2(T1 int not null primary key,NAME varchar(20),STATUS    varchar(20));";
      try{
          tntdb::Connection conn;
          conn = tntdb::connect("sqlite:/home/gaian/Desktop/test.db");
          string k="abc";
          conn.execute(s);
          tntdb::Statement st = conn.prepare("insert into test2(T1,NAME,STATUS) values (:T1, :NAME,:STATUS)");
          st.set("T1",10)
              .set("NAME",k)
              .set("STATUS","bye")
              .execute();
      }
  
      catch(const std::exception&amp; e){
          printf("error is %s\n",e.what());
      }
      return 0;
  }
  </code></pre>