Changeset 2625 for branches/release-40/lib/MT/ObjectDriver/SQL/SQLite.pm
- Timestamp:
- 06/20/08 09:02:09 (18 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/release-40/lib/MT/ObjectDriver/SQL/SQLite.pm
r1174 r2625 30 30 my $cd = delete $stmt->{count_distinct}; 31 31 my ($col) = each %$cd; 32 my @select = @{$stmt->select}; 32 33 $stmt->select([$col]); 33 34 my $class = ref $stmt; 34 35 my $main_stmt = $class->new; 36 $main_stmt->select(\@select); 35 37 $main_stmt->from_stmt($stmt); 36 38 $main_stmt->as_sql(@_);
