1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00: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:
Edwin Groothuis 2003-08-24 06:24:58 +00:00
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

View File

@ -69,6 +69,7 @@
SUBDIR += mysql40-server
SUBDIR += mysql41-client
SUBDIR += mysql41-server
SUBDIR += mysql_last_value
SUBDIR += mysqlman
SUBDIR += mysqltcl
SUBDIR += mytop

View 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>

View File

@ -0,0 +1 @@
MD5 (mysql_last_value-3.2.tar.gz) = 5e079427683e11f3edbde6e02913518e

View 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

View File

@ -0,0 +1 @@
bin/mysql_last_value