diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-11-17 21:56:35 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-11-17 21:56:35 +0100 |
commit | 2df087a95c661571a035c02c042fb7af51780d7b (patch) | |
tree | 0949616fd02b6d0f0b303a25e5d954e092604d77 | |
parent | 014a6394e4268ee698f02aede381acc772abd20d (diff) |
Use correct table name for user lines update.
-rw-r--r-- | pg.pgc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -227,7 +227,7 @@ void pg_user_set(int channel, struct user_t *user) { int lines = user->lines[ti], index = ti; EXEC SQL END DECLARE SECTION; - EXEC SQL UPDATE users SET lines = :lines WHERE user_id = :id AND time_index = :index; + EXEC SQL UPDATE user_hours SET lines = :lines WHERE user_id = :id AND time_index = :index; } } else { EXEC SQL INSERT INTO users |