mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
New port: Replaces NULL MySQL Field with value from top records
Replaces NULL column(s) with value from last available column value PR: ports/55649 Submitted by: Aftab Jahan Subedar <jahan@geocities.com>
This commit is contained in:
parent
ad10950170
commit
364f82df74
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87584
5 changed files with 34 additions and 0 deletions
|
@ -69,6 +69,7 @@
|
||||||
SUBDIR += mysql40-server
|
SUBDIR += mysql40-server
|
||||||
SUBDIR += mysql41-client
|
SUBDIR += mysql41-client
|
||||||
SUBDIR += mysql41-server
|
SUBDIR += mysql41-server
|
||||||
|
SUBDIR += mysql_last_value
|
||||||
SUBDIR += mysqlman
|
SUBDIR += mysqlman
|
||||||
SUBDIR += mysqltcl
|
SUBDIR += mysqltcl
|
||||||
SUBDIR += mytop
|
SUBDIR += mytop
|
||||||
|
|
24
databases/mysql_last_value/Makefile
Normal file
24
databases/mysql_last_value/Makefile
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# New ports collection makefile for: mysql_last_value
|
||||||
|
# Date created: 14th Aug 2003
|
||||||
|
# Whom: Aftab Jahan Subedar
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PORTNAME= mysql_last_value
|
||||||
|
PORTVERSION= 3.2
|
||||||
|
CATEGORIES= databases
|
||||||
|
MASTER_SITES= http://www.geocities.com/jahan.geo/
|
||||||
|
|
||||||
|
MAINTAINER= jahan@bol-online.com
|
||||||
|
COMMENT= Replaces NULL value of current column with value from top row
|
||||||
|
|
||||||
|
LIB_DEPENDS= mysqlclient.14:${PORTSDIR}/databases/mysql41-client
|
||||||
|
|
||||||
|
USE_REINPLACE= yes
|
||||||
|
|
||||||
|
post-patch:
|
||||||
|
${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' ${WRKSRC}/Makefile
|
||||||
|
|
||||||
|
do-install:
|
||||||
|
${INSTALL_SCRIPT} ${WRKSRC}/mysql_last_value ${PREFIX}/bin
|
||||||
|
|
||||||
|
.include <bsd.port.mk>
|
1
databases/mysql_last_value/distinfo
Normal file
1
databases/mysql_last_value/distinfo
Normal file
|
@ -0,0 +1 @@
|
||||||
|
MD5 (mysql_last_value-3.2.tar.gz) = 5e079427683e11f3edbde6e02913518e
|
7
databases/mysql_last_value/pkg-descr
Normal file
7
databases/mysql_last_value/pkg-descr
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
mysql_last_value() replace null value of column from row above the current row.
|
||||||
|
Its like "same as above".
|
||||||
|
|
||||||
|
WWW: http://www.geocities.com/jahan.geo
|
||||||
|
|
||||||
|
-Aftab Jahan Subedar
|
||||||
|
jahan@bol-online.com jahan@geocities.com
|
1
databases/mysql_last_value/pkg-plist
Normal file
1
databases/mysql_last_value/pkg-plist
Normal file
|
@ -0,0 +1 @@
|
||||||
|
bin/mysql_last_value
|
Loading…
Add table
Reference in a new issue