diff options
| author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-04-17 13:44:37 -0400 |
|---|---|---|
| committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-04-17 13:44:37 -0400 |
| commit | 04338f2b040fee5142904c062e0e38c836601034 (patch) | |
| tree | a3ca42f738839ae4f6c83d599277c33203beb733 /lib/preposition.cpp | |
| parent | 040ee58fecdc9c478004bc2e554e1ae126ec4602 (diff) | |
| download | verbly-04338f2b040fee5142904c062e0e38c836601034.tar.gz verbly-04338f2b040fee5142904c062e0e38c836601034.tar.bz2 verbly-04338f2b040fee5142904c062e0e38c836601034.zip | |
Fixed perfect rhyming
Rhyme detection now ensures that any rhymes it finds are perfect rhymes and not identical rhymes. Rhyme detection is also now a lot faster because additional information is stored in the datafile. Also fixed a bug in the query interface (and the generator) that could cause incorrect queries to be executed.
Diffstat (limited to 'lib/preposition.cpp')
| -rw-r--r-- | lib/preposition.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
| diff --git a/lib/preposition.cpp b/lib/preposition.cpp index 8df13aa..cea9165 100644 --- a/lib/preposition.cpp +++ b/lib/preposition.cpp | |||
| @@ -83,7 +83,7 @@ namespace verbly { | |||
| 83 | 83 | ||
| 84 | case binding::type::string: | 84 | case binding::type::string: |
| 85 | { | 85 | { |
| 86 | sqlite3_bind_text(ppstmt, i, binding.get_string().c_str(), binding.get_string().length(), SQLITE_STATIC); | 86 | sqlite3_bind_text(ppstmt, i, binding.get_string().c_str(), binding.get_string().length(), SQLITE_TRANSIENT); |
| 87 | 87 | ||
| 88 | break; | 88 | break; |
| 89 | } | 89 | } |
