projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Recent the dependency on spread-sheet-widget
[pspp]
/
src
/
data
/
psql-reader.c
diff --git
a/src/data/psql-reader.c
b/src/data/psql-reader.c
index a8eb91ef7c8da5eb1696de7de0d8573a69df46d8..d28085f1f4a5ab13307739a89876c0236b8a8c5e 100644
(file)
--- a/
src/data/psql-reader.c
+++ b/
src/data/psql-reader.c
@@
-376,11
+376,11
@@
psql_open_reader (struct psql_read_info *info, struct dictionary **dict)
int width = 0;
int length ;
int width = 0;
int length ;
- /* If there are no data then make a finger in the air
+ /* If there are no data then make a finger in the air
guess at the contents */
if ( n_tuples > 0 )
length = PQgetlength (qres, 0, i);
guess at the contents */
if ( n_tuples > 0 )
length = PQgetlength (qres, 0, i);
- else
+ else
length = PSQL_DEFAULT_WIDTH;
switch (type)
length = PSQL_DEFAULT_WIDTH;
switch (type)